diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index c77d1784..8b9273ef 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -25,6 +25,8 @@ jobs: - name: Run Trivy vulnerability scanner on csi-snapshot-metadata image uses: aquasecurity/trivy-action@master + env: + TRIVY_DB_REPOSITORY: "public.ecr.aws/aquasecurity/trivy-db:2" with: image-ref: 'test/csi-snapshot-metadata:latest' format: 'table'