mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-08 16:28:36 +01:00
ci(gitlab): Introduce dedicated variable for av scan proxy registry AV_SCAN_PROXY
This commit is contained in:
@@ -506,7 +506,7 @@ avscan-prepare:
|
|||||||
- "freshclam"
|
- "freshclam"
|
||||||
- "mkdir /scan"
|
- "mkdir /scan"
|
||||||
script:
|
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..."
|
- "echo Pulling and scanning $IMAGE..."
|
||||||
- "crane pull $IMAGE /scan/image.tar"
|
- "crane pull $IMAGE /scan/image.tar"
|
||||||
- "clamscan /scan"
|
- "clamscan /scan"
|
||||||
@@ -514,7 +514,7 @@ avscan-prepare:
|
|||||||
CONTAINER_IMAGE: ""
|
CONTAINER_IMAGE: ""
|
||||||
CONTAINER_REGISTRY: ""
|
CONTAINER_REGISTRY: ""
|
||||||
CONTAINER_TAG: ""
|
CONTAINER_TAG: ""
|
||||||
DATABASE_MIRROR: "https://nexus.souvap-univention.de/repository/ClamAV"
|
DATABASE_MIRROR: "https://registry.open-de.sk/repository/clamavdb.c3sl.ufpr.br"
|
||||||
EOF
|
EOF
|
||||||
- >
|
- >
|
||||||
yq '.images
|
yq '.images
|
||||||
|
|||||||
Reference in New Issue
Block a user