fix pr builds

This commit is contained in:
Simon Ungar Felding 2025-04-24 23:57:18 +02:00
parent a68521bd9d
commit cb2cf7502f

View File

@ -57,14 +57,14 @@ jobs:
outputs: type=image,"name=${{ env.DOCKER_REPO_DEV }}",push-by-digest=false,name-canonical=true,push=true outputs: type=image,"name=${{ env.DOCKER_REPO_DEV }}",push-by-digest=false,name-canonical=true,push=true
context: ./build context: ./build
file: ./build/Dockerfile file: ./build/Dockerfile
tags: "${{ env.DOCKER_REPO_DEV }}:dev-${{ github.ref_name }}" tags: "${{ env.DOCKER_REPO_DEV }}:dev-${{ github.sha }}"
build-args: | build-args: |
version=${{ env.version }} version=${{ env.version }}
- name: Run Trivy vulnerability scan - name: Run Trivy vulnerability scan
uses: aquasecurity/trivy-action@0.30.0 uses: aquasecurity/trivy-action@0.30.0
with: with:
image-ref: "${{ env.DOCKER_REPO_DEV }}:dev-${{ github.ref_name }}" image-ref: "${{ env.DOCKER_REPO_DEV }}:dev-${{ github.sha }}"
format: 'sarif' format: 'sarif'
exit-code: 0 exit-code: 0
severity: 'CRITICAL,HIGH' severity: 'CRITICAL,HIGH'