Skip to content

Commit

Permalink
chore(ci): fail build if grype fails
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jul 22, 2022
1 parent 0f7f799 commit b52c8e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/grype.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: anchore/scan-action@v3
with:
path: "."
fail-build: false
fail-build: true

scan-image:
name: scan-image
Expand All @@ -34,4 +34,4 @@ jobs:
- uses: anchore/scan-action@v3
with:
image: "goreleaser/goreleaser:latest"
fail-build: false
fail-build: true

0 comments on commit b52c8e3

Please sign in to comment.