Merge pull request #789 from andyzhangx/fix-trivy2
test: fix trivy action
This commit is contained in:
commit
18fdc4a39e
2
.github/workflows/trivy.yaml
vendored
2
.github/workflows/trivy.yaml
vendored
@ -30,6 +30,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Trivy vulnerability scanner
|
- name: Run Trivy vulnerability scanner
|
||||||
uses: aquasecurity/trivy-action@master
|
uses: aquasecurity/trivy-action@master
|
||||||
|
env:
|
||||||
|
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
|
||||||
with:
|
with:
|
||||||
image-ref: 'test/nfsplugin:latest-linux-amd64'
|
image-ref: 'test/nfsplugin:latest-linux-amd64'
|
||||||
format: 'table'
|
format: 'table'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user