Skip to content

Commit 18fdc4a

Browse files
authored
Merge pull request #789 from andyzhangx/fix-trivy2
test: fix trivy action
2 parents 265082b + 14c6353 commit 18fdc4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/trivy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
3131
- name: Run Trivy vulnerability scanner
3232
uses: aquasecurity/trivy-action@master
33+
env:
34+
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
3335
with:
3436
image-ref: 'test/nfsplugin:latest-linux-amd64'
3537
format: 'table'

0 commit comments

Comments
 (0)