Skip to content

Commit

Permalink
ci: fix trivy throttling (#3696)
Browse files Browse the repository at this point in the history
Signed-off-by: Sertac Ozercan <[email protected]>
  • Loading branch information
sozercan authored Nov 13, 2024
1 parent 649980c commit 044bc89
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/scan-vulns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ jobs:
env:
TRIVY_VERSION: "0.57.0"

- name: Download trivy db
run: |
trivy image \
--download-db-only \
--db-repository=ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db,docker.io/aquasec/trivy-db
- name: Run trivy on git repository
run: |
trivy fs --format table --ignore-unfixed --skip-dirs website --scanners vuln .
Expand Down

0 comments on commit 044bc89

Please sign in to comment.