From 45bd827ea09e4952ac3aadedad41de8366447b0e Mon Sep 17 00:00:00 2001 From: Per Ploug Date: Fri, 25 Oct 2024 14:57:26 +0200 Subject: [PATCH] Update scout.yml --- .github/workflows/scout.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scout.yml b/.github/workflows/scout.yml index f1f6dca..d94c9b9 100644 --- a/.github/workflows/scout.yml +++ b/.github/workflows/scout.yml @@ -37,6 +37,19 @@ jobs: tags: | type=sha,prefix=,suffix=,format=short + - name: Compare + uses: docker/scout-action@v1 + with: + command: compare + image: ${{ steps.meta.outputs.tags }} + to-env: production + platform: "linux/amd64" + ignore-unchanged: true + only-severities: critical,high + organization: ${{ env.DOCKER_ORG }} + exit-on: policy + + - name: Docker Scout id: docker-scout uses: docker/scout-action@v1 @@ -46,4 +59,4 @@ jobs: image: olegselajev241/todo-demo-application:${{ env.SHA }} exit-on: policy exit-code: true - write-comment: false \ No newline at end of file + write-comment: false