Skip to content

Commit 04273c0

Browse files
committed
make scout fail on policy
1 parent 43e2dcd commit 04273c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/scout.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ jobs:
4141
id: docker-scout
4242
uses: docker/scout-action@v1
4343
with:
44-
command: quickview
44+
command: quickview,compare
4545
image: olegselajev241/todo-demo-application:${{ env.SHA }}
46+
to-latest: true
4647
only-severities: critical,high
48+
exit-on: policy
4749
write-comment: false

0 commit comments

Comments
 (0)