Skip to content

Commit

Permalink
Set exit code for Trivy jobs since they seem to run now
Browse files Browse the repository at this point in the history
Signed-off-by: John Schaeffer <[email protected]>
  • Loading branch information
jnschaeffer committed Apr 12, 2023
1 parent e91753d commit e2d6dc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
ignore-unfixed: true
severity: 'HIGH,CRITICAL'
format: 'table'
exit-code: '1'

- name: Registry login
uses: docker/login-action@v2
Expand Down Expand Up @@ -58,6 +59,7 @@ jobs:
ignore-unfixed: true
severity: 'HIGH,CRITICAL'
format: 'table'
exit-code: '1'

- name: Push
uses: docker/build-push-action@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
ignore-unfixed: true
severity: 'HIGH,CRITICAL'
format: 'table'
exit-code: '1'

repo-scan:
name: repo-scan
Expand All @@ -63,3 +64,4 @@ jobs:
ignore-unfixed: true
severity: 'HIGH,CRITICAL'
format: 'table'
exit-code: '1'

0 comments on commit e2d6dc6

Please sign in to comment.