Skip to content

Commit ba70c05

Browse files
committed
chore(CI): Use AWS ECR location for trivy DBs
Signed-off-by: Szilard Parrag <[email protected]>
1 parent 1f0a20f commit ba70c05

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/artifacts.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ jobs:
162162
163163
- name: Run Trivy vulnerability scanner
164164
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # 0.28.0
165+
env:
166+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
167+
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:1
165168
with:
166169
input: image
167170
format: sarif
@@ -275,6 +278,9 @@ jobs:
275278
276279
- name: Run Trivy vulnerability scanner
277280
uses: aquasecurity/trivy-action@915b19bbe73b92a6cf82a1bc12b087c9a19a5fe2 # 0.28.0
281+
env:
282+
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
283+
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:1
278284
with:
279285
scan-type: config
280286
scan-ref: charts/${{ steps.chart-name.outputs.value }}

0 commit comments

Comments
 (0)