ci: adjustments
Some checks failed
Build and Deploy / build-server (push) Successful in 25s
Build and Deploy / sonarqube (push) Has been skipped
Build and Deploy / dependency-track (push) Successful in 26s
Build and Deploy / build-push-server-container (push) Successful in 1m4s
Build and Deploy / dependency-track-container (push) Failing after 26s

This commit is contained in:
Timothy Schenk 2023-11-03 15:13:18 +01:00
parent 6d991d88cf
commit dad5e99f0f

View file

@ -20,7 +20,7 @@ jobs:
sonarqube:
needs: build-server
runs-on: ubuntu-latest
if: ${{ github.ref_name }} == 'master'
if: github.ref_name == 'master'
steps:
- uses: actions/checkout@v3
- name: Setup dotnet
@ -105,7 +105,7 @@ jobs:
context: .
file: Server/Dockerfile
push: true
tags: forge.rainote.dev/${{ github.repository }}:latest,forge.rainote.dev/${{ github.repository }}:${{ github.ref_name }}
tags: forge.rainote.dev/${{ github.repository }}:${{ github.ref_name }}
platforms: linux/amd64
dependency-track-container:
needs: build-push-server-container
@ -127,7 +127,7 @@ jobs:
curl -sSfL https://raw.githubusercontent.com/docker/sbom-cli-plugin/main/install.sh | sh -s --
- name: Generate SBOM
run: |
docker sbom --format cyclonedx-json --output bom.json forge.rainote.dev/Wonderking/Continuity:latest
docker sbom forge.rainote.dev/${{ github.repository }}:${{ github.ref_name }} --format cyclonedx-json --output bom.json
- name: Upload SBOM
uses: https://github.com/DependencyTrack/gh-upload-sbom@v2.0.1
with: