Skip to content

Commit c34fd6f

Browse files
add multiple sources for trivy
1 parent bb70bf4 commit c34fd6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/security-scanners.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ jobs:
1515
- uses: "actions/checkout@v4"
1616
- name: "Run Trivy vulnerability scanner in fs mode"
1717
uses: "aquasecurity/trivy-action@master"
18+
env:
19+
TRIVY_DB_REPOSITORY: "ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db"
1820
with:
1921
scan-type: "fs"
2022
scan-ref: "."

0 commit comments

Comments
 (0)