Merge pull request #789 from andyzhangx/fix-trivy2

test: fix trivy action
This commit is contained in:
Andy Zhang 2024-11-07 22:41:57 +08:00 committed by GitHub
commit 18fdc4a39e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,6 +30,8 @@ jobs:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
with:
image-ref: 'test/nfsplugin:latest-linux-amd64'
format: 'table'