File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,19 +49,19 @@ jobs:
4949 if-no-files-found : error
5050 retention-days : 14
5151 # 🛡 Evaluate SBOM with Grype (fail build on HIGH or CRITICAL vulns)
52- # - name: 🛡 Vulnerability scan (Grype on SBOM)
53- # run: |
54- # docker run --rm \
55- # -v "$PWD":/work \
56- # anchore/grype:latest /work/sbom.syft.json \
57- # --fail-on high \
58- # --only-fixed=false \
59- # --add-cpes-if-none
60-
61- - name : Scan SBOM
62- uses : anchore/scan-action@v6
63- with :
64- sbom : sbom.syft.json
52+ - name : 🛡 Vulnerability scan (Grype on SBOM)
53+ run : |
54+ docker run --rm \
55+ -v "$PWD":/work \
56+ anchore/grype:v0.104.1 /work/sbom.syft.json \
57+ --fail-on high \
58+ --only-fixed=false \
59+ --add-cpes-if-none
60+
61+ # - name: Scan SBOM
62+ # uses: anchore/scan-action@v6
63+ # with:
64+ # sbom: sbom.syft.json
6565
6666 - name : 🔑 Login to Quay.io
6767 run : |
You can’t perform that action at this time.
0 commit comments