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
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:
parent
6d991d88cf
commit
dad5e99f0f
1 changed files with 3 additions and 3 deletions
|
@ -20,7 +20,7 @@ jobs:
|
||||||
sonarqube:
|
sonarqube:
|
||||||
needs: build-server
|
needs: build-server
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ github.ref_name }} == 'master'
|
if: github.ref_name == 'master'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup dotnet
|
- name: Setup dotnet
|
||||||
|
@ -105,7 +105,7 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
file: Server/Dockerfile
|
file: Server/Dockerfile
|
||||||
push: true
|
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
|
platforms: linux/amd64
|
||||||
dependency-track-container:
|
dependency-track-container:
|
||||||
needs: build-push-server-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 --
|
curl -sSfL https://raw.githubusercontent.com/docker/sbom-cli-plugin/main/install.sh | sh -s --
|
||||||
- name: Generate SBOM
|
- name: Generate SBOM
|
||||||
run: |
|
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
|
- name: Upload SBOM
|
||||||
uses: https://github.com/DependencyTrack/gh-upload-sbom@v2.0.1
|
uses: https://github.com/DependencyTrack/gh-upload-sbom@v2.0.1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue