Skip to content

Commit 2e5c2e8

Browse files
authored
ci(trivy): fetch vulnerabilities DB from erc
aquasecurity/trivy-action#389 (comment) Signed-off-by: Michael Beemer <[email protected]>
1 parent 69efcf0 commit 2e5c2e8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/pr-checks.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ jobs:
8282
template: "@/contrib/sarif.tpl"
8383
output: "trivy-results.sarif"
8484
severity: "CRITICAL,HIGH"
85+
env:
86+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
8587
- name: Upload Trivy scan results to GitHub Security tab
8688
uses: github/codeql-action/upload-sarif@v2
8789
with:

0 commit comments

Comments
 (0)