Skip to content

Commit

Permalink
build: sub docker-scout with grype
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomocamerano committed Nov 1, 2024
1 parent 54255a5 commit a73f0ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pr-check..yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ jobs:
- name: Load Docker image
run: docker load -i metal-api.tar

- name: Run Docker Scout for Vulnerability Scanning
- name: Install Grype
run: |
docker scout quickview metalheads/metal-api:pr-${{ github.event.pull_request.number }}
curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh
- name: Run Grype for Vulnerability Scanning
run: |
./grype metalheads/metal-api:pr-${{ github.event.pull_request.number }} --fail-on high

0 comments on commit a73f0ed

Please sign in to comment.