From 4d715ad1a6a01b7af7b87374a3af99a3eaf36ce0 Mon Sep 17 00:00:00 2001 From: Nicholas Shavers <nshavers@contractor.usgs.gov> Date: Wed, 18 Dec 2024 14:57:20 -0800 Subject: [PATCH] space removed from repository string --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 33da0565..6551baac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -202,7 +202,7 @@ Build Docker Image: --tag "${LOCAL_IMAGE}" "." ## trivy scan before push - - export TRIVY_DB_REPOSITORY=public.ecr.aws/aquasecurity/trivy-db,aquasec/trivy-db,ghcr.io/aquasecurity/trivy-db, mirror.gcr.io/aquasec/trivy-db #Trivy looks for this variable to determine which repository to use. + - export TRIVY_DB_REPOSITORY=public.ecr.aws/aquasecurity/trivy-db,aquasec/trivy-db,ghcr.io/aquasecurity/trivy-db,mirror.gcr.io/aquasec/trivy-db #Trivy looks for this variable to determine which repository to use. # fail LOW,MEDIUM vulnerabilities that have a fix available - trivy -q image --exit-code 1 --ignore-unfixed --severity LOW,MEDIUM "${LOCAL_IMAGE}"; # fail HIGH,CRITICAL vulnerabilities -- GitLab