From a0f8e7aa5f787e35e237d7ae7ad363492577ac89 Mon Sep 17 00:00:00 2001 From: Dominik Kaminski Date: Mon, 14 Oct 2024 01:24:14 +0200 Subject: [PATCH] ci(gitlab): Introduce dedicated variable for av scan proxy registry AV_SCAN_PROXY --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4e332bda..11ad607f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -506,7 +506,7 @@ avscan-prepare: - "freshclam" - "mkdir /scan" script: - - "export IMAGE=${EXTERNAL_REGISTRY:-${CONTAINER_REGISTRY}}/${CONTAINER_IMAGE}:${CONTAINER_TAG}" + - "export IMAGE=${AV_SCAN_PROXY:-${CONTAINER_REGISTRY}}/${CONTAINER_IMAGE}:${CONTAINER_TAG}" - "echo Pulling and scanning $IMAGE..." - "crane pull $IMAGE /scan/image.tar" - "clamscan /scan" @@ -514,7 +514,7 @@ avscan-prepare: CONTAINER_IMAGE: "" CONTAINER_REGISTRY: "" CONTAINER_TAG: "" - DATABASE_MIRROR: "https://nexus.souvap-univention.de/repository/ClamAV" + DATABASE_MIRROR: "https://registry.open-de.sk/repository/clamavdb.c3sl.ufpr.br" EOF - > yq '.images