Skip to content

Commit

Permalink
test: fix trivy action
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
andyzhangx committed Nov 7, 2024
1 parent 2bd59b6 commit 7002ac8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
- name: Run Trivy vulnerability scanner on csi-snapshotter image
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
with:
image-ref: 'test/csi-snapshotter:latest'
format: 'table'
Expand All @@ -37,6 +39,8 @@ jobs:

- name: Run Trivy vulnerability scanner on snapshotter-controller image
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
with:
image-ref: 'test/snapshot-controller:latest'
format: 'table'
Expand All @@ -47,6 +51,8 @@ jobs:

- name: Run Trivy vulnerability scanner on snapshot-validation-webhook image
uses: aquasecurity/trivy-action@master
env:
TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2"
with:
image-ref: 'test/snapshot-validation-webhook:latest'
format: 'table'
Expand Down

0 comments on commit 7002ac8

Please sign in to comment.