Skip to content

Commit 2f9f352

Browse files
committed
Add fallback db for trivy
1 parent 1c7e526 commit 2f9f352

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,9 @@ jobs:
411411

412412
- name: Scan for CVEs
413413
if: runner.os == 'Linux'
414-
uses: aquasecurity/[email protected]
414+
uses: aquasecurity/[email protected]
415+
env:
416+
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
415417
with:
416418
scan-type: rootfs
417419
scan-ref: build

0 commit comments

Comments
 (0)