Skip to content

Commit e37f13d

Browse files
committed
Add environment variables to use public repo
1 parent 3bbe8ed commit e37f13d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/lint.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ jobs:
6969
format: "sarif"
7070
output: "trivy-results.sarif"
7171
severity: "CRITICAL"
72+
env:
73+
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db"
74+
TRIVY_JAVA_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-java-db"
7275
- name: "Upload Trivy scan results to GitHub Security tab"
7376
uses: "github/codeql-action/upload-sarif@v3"
7477
with:

0 commit comments

Comments
 (0)