From e80c74166d65528d3fc8096c1f07ea1161befd4b Mon Sep 17 00:00:00 2001 From: Aadesh Kale Date: Fri, 5 Jan 2024 10:23:08 +0530 Subject: [PATCH] extra scan added --- .github/workflows/ci-build.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index 6cfa919..bb09091 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -38,4 +38,10 @@ jobs: CVE-2021-1234 CVE-2021-5678 image: welcome-app:${{ env.IMG_TAG }} - \ No newline at end of file + + - name: Anchore Scan image + uses: anchore/scan-action@v3 + with: + image: welcome-app:${{ env.IMG_TAG }} + fail-build: true + severity-cutoff: critical \ No newline at end of file