From f9d8c958d6b044a4293e47481f49269233db6fce Mon Sep 17 00:00:00 2001 From: Stig Otnes Kolstad Date: Mon, 25 Nov 2024 16:27:15 +0100 Subject: [PATCH] ci: use aws mirror for trivy-db --- .github/workflows/docker-build.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index 47b2c11..49e5f6d 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -37,3 +37,6 @@ jobs: ignore-unfixed: true vuln-type: 'os,library' severity: 'CRITICAL,HIGH' + env: + TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db + TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db