From 2f9f352f4e111fffab2fe3ab2067560c68467d12 Mon Sep 17 00:00:00 2001 From: Nathan Rijksen Date: Mon, 28 Oct 2024 13:56:21 -0700 Subject: [PATCH] Add fallback db for trivy --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8169649d28..05aeab5dbc 100755 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -411,7 +411,9 @@ jobs: - name: Scan for CVEs if: runner.os == 'Linux' - uses: aquasecurity/trivy-action@0.20.0 + uses: aquasecurity/trivy-action@0.26.0 + env: + TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db with: scan-type: rootfs scan-ref: build