From 228806ee8bedc47dff066250f2d8534398278874 Mon Sep 17 00:00:00 2001 From: Max Kurapov Date: Wed, 6 Nov 2024 13:19:45 +0100 Subject: [PATCH] chore(ci): use fallback registry for trivy db fetch --- .github/workflows/node-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node-build.yml b/.github/workflows/node-build.yml index 06a8bf6ffc..f7f0a7ec54 100644 --- a/.github/workflows/node-build.yml +++ b/.github/workflows/node-build.yml @@ -338,7 +338,7 @@ jobs: - name: Scan docker image run: | docker images - /tmp/trivy image --ignore-unfixed --format table --vuln-type os,library --exit-code 1 --severity HIGH --input /tmp/${{ github.sha }}-${{ matrix.package }}-${{ matrix.platform.name }}-${{ needs.version-generator.outputs.version }}.tar + /tmp/trivy image --db-repository ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db --ignore-unfixed --format table --vuln-type os,library --exit-code 1 --severity HIGH --input /tmp/${{ github.sha }}-${{ matrix.package }}-${{ matrix.platform.name }}-${{ needs.version-generator.outputs.version }}.tar push: name: Push to registry