From c417f5815e0eab15fc01cd6fa84895b6e4e2a72b Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 5 Nov 2024 21:36:54 -0500 Subject: [PATCH] Switch from ghcr.io to ecr for trivy db pull images (#5169) Signed-off-by: Peter Zhu --- jenkins/docker/docker-scan.jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jenkins/docker/docker-scan.jenkinsfile b/jenkins/docker/docker-scan.jenkinsfile index db30f4175e..134437dd65 100644 --- a/jenkins/docker/docker-scan.jenkinsfile +++ b/jenkins/docker/docker-scan.jenkinsfile @@ -17,6 +17,10 @@ pipeline { timeout(time: 30) } agent none + environment { + TRIVY_DB_REPOSITORY = 'public.ecr.aws/aquasecurity/trivy-db' + TRIVY_JAVA_DB_REPOSITORY = 'public.ecr.aws/aquasecurity/trivy-java-db' + } parameters { string( name: 'IMAGE_FULL_NAME',