This commit is contained in:
Amit Rajput 2025-12-29 19:02:09 +05:30
parent ff57e23d63
commit c4f7d65c73

View File

@ -57,13 +57,13 @@ jobs:
- name: Push the container image - name: Push the container image
run: docker push ${{ steps.get-id.outputs.DOCKER_IMAGE }} run: docker push ${{ steps.get-id.outputs.DOCKER_IMAGE }}
- name: Scan Docker Image for vulnerabilities with Grype # - name: Scan Docker Image for vulnerabilities with Grype
uses: anchore/scan-action@v6 # uses: anchore/scan-action@v6
with: # with:
image: ${{ steps.get-id.outputs.DOCKER_IMAGE }} # image: ${{ steps.get-id.outputs.DOCKER_IMAGE }}
cache-db: true #Cache Grype DB in Github Actions # cache-db: true #Cache Grype DB in Github Actions
output-format: table # output-format: table
only-fixed: true # only-fixed: true
severity-cutoff: critical # severity-cutoff: critical
fail-build: true # fail-build: true