ci: adjustments to workflow
All checks were successful
Build, Package and Push Images / preprocess (push) Successful in 3s
Build, Package and Push Images / build (push) Successful in 29s
Build, Package and Push Images / sbom-scan (push) Successful in 34s
Build, Package and Push Images / generate-licences (push) Successful in 1m1s
Build, Package and Push Images / container-build (push) Successful in 1m39s
Build, Package and Push Images / sonarqube (push) Successful in 1m44s
Build, Package and Push Images / container-sbom-scan (push) Successful in 33s

This commit is contained in:
Timothy Schenk 2024-02-01 11:02:39 +01:00
parent 73d8e140fb
commit 6dc479d5a9
2 changed files with 14 additions and 3 deletions

View file

@ -2,10 +2,21 @@ name: Build, Package and Push Images
run-name: ${{ gitea.actor }} is building the Server application
on:
push:
branches:
- develop
- master
paths-ignore:
- Wiki/**
- Benchmarks/**
- .run/**
pull_request:
types:
- ready_for_review
- edited
paths-ignore:
- Wiki/**
- Benchmarks/**
- .run/**
jobs:
preprocess:
@ -30,7 +41,6 @@ jobs:
- name: Build
run: |
dotnet build Continuity.AuthServer -c Release
# dotnet test Server.Tests -c Release
sonarqube:
needs: build
@ -91,7 +101,7 @@ jobs:
serverHostname: ${{ secrets.DEPENDENCY_TRACK_URL }}
projectName: ${{ secrets.DEPENDENCY_TRACK_PROJECT_NAME }}
autoCreate: true
# set projectversion to be the branch name
# set projectversion to be the branch name
projectVersion: ${{ github.ref_name }}
bomFilename: ${{ github.workspace }}/bom.xml

View file

@ -8,5 +8,6 @@
"enabled": true,
"labels": ["security"]
},
"extends": [":gitSignOff",":labels(dependencies)", "docker:disable", "docker:pinDigests"]
"extends": [":gitSignOff",":labels(dependencies)", "docker:disable", "docker:pinDigests"],
"baseBranches": ["master", "/^release\\/.*/", "develop"]
}