diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index 746b40755..9a1deddc3 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -128,6 +128,7 @@ runs: provenance: false - name: Anchore Scan API Image + if: inputs.grype-scan-enabled == 'true' uses: anchore/scan-action@24fd7c9060f3c96848dd1929fac8d796fb5ae4b4 # v3.3.6 id: scan with: @@ -138,11 +139,12 @@ runs: severity-cutoff: critical - name: Echo sarif + if: inputs.grype-scan-enabled == 'true' shell: bash run: echo "$(