Skip to content

Commit

Permalink
install grype
Browse files Browse the repository at this point in the history
  • Loading branch information
shellz-n-stuff committed Jun 23, 2024
1 parent 10c2028 commit 1d065b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_and_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ jobs:
- name: Generate SBOM
run: syft ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} -o json > sbom.json

- name: Install Grype
run: |
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b /usr/local/bin
- name: Scan SBOM with Grype
run: grype sbom:sbom.json --output sarif > grype-report.sarif

Expand Down

0 comments on commit 1d065b6

Please sign in to comment.