Skip to content

Commit a0ab676

Browse files
authored
Added a fallback db repo
Support was added in v0.56.0 aquasecurity/trivy#7640 Signed-off-by: Michael Beemer <[email protected]>
1 parent 2e5c2e8 commit a0ab676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ jobs:
7575
cache-from: type=gha,scope=${{ github.ref_name }}-ofo
7676
cache-to: type=gha,scope=${{ github.ref_name }}-ofo
7777
- name: Run Trivy vulnerability scanner
78-
uses: aquasecurity/trivy-action@0.27.0
78+
uses: aquasecurity/trivy-action@0.56.2
7979
with:
8080
input: ${{ github.workspace }}/open-feature-operator-local.tar
8181
format: "template"
8282
template: "@/contrib/sarif.tpl"
8383
output: "trivy-results.sarif"
8484
severity: "CRITICAL,HIGH"
8585
env:
86-
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
86+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2,ghcr.io/aquasecurity/trivy-db:2
8787
- name: Upload Trivy scan results to GitHub Security tab
8888
uses: github/codeql-action/upload-sarif@v2
8989
with:

0 commit comments

Comments
 (0)