Skip to content

Commit

Permalink
fail on high severity
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhgn committed Dec 31, 2024
1 parent 4da9cf5 commit c245c0b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/container_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ jobs:
image: ${{ env.LATEST_TAG }}
fail-build: true
output-format: table
severity-cutoff: critical
severity-cutoff: high

- name: Inspect scan action table report
run: cat ${{ steps.anchor_scan.outputs.sarif }}
# - name: Inspect scan action table report
# run: cat ${{ steps.anchor_scan.outputs.sarif }}

- name: Build
uses: docker/build-push-action@v6
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/container_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ jobs:
image: ${{ env.LATEST_TAG }}
fail-build: true
output-format: table
severity-cutoff: critical
severity-cutoff: high

- name: Inspect scan action table report
run: cat ${{ steps.anchor_scan.outputs.sarif }}
# - name: Inspect scan action table report
# run: cat ${{ steps.anchor_scan.outputs.sarif }}

- name: Build and push
uses: docker/build-push-action@v6
Expand Down

0 comments on commit c245c0b

Please sign in to comment.