Skip to content

Commit

Permalink
Update reusable-docker-arm-build.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka authored Jan 16, 2025
1 parent 3ebb2b8 commit 3354dd4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reusable-docker-arm-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:
image: ${{ env.IMAGE_REF }}
output-format: sarif
output-file: grype.sarif
severity-cutoff: critical
add-cpes-if-none: true
- name: Trivy
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
Expand All @@ -124,6 +125,8 @@ jobs:
image-ref: ${{ env.IMAGE_REF }}
format: sarif
output: trivy.sarif
severity: CRITICAL
limit-severities-for-sarif: true
- name: Push the docker image
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')) }}
uses: docker/build-push-action@v6
Expand Down

0 comments on commit 3354dd4

Please sign in to comment.