From 178e0baf1fa3ac5dc87237dbaf96ed36ddfaef81 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Thu, 7 Nov 2024 13:08:46 +0000 Subject: [PATCH] test: fix trivy action --- .github/workflows/trivy.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index e0e473d8f0..e6ccd0017e 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -28,6 +28,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/azuredisk-csi:latest' format: 'table'