From b6668069b8364f910fe6da06bfb58b96fff2c276 Mon Sep 17 00:00:00 2001 From: Peter Hoyes Date: Wed, 13 Sep 2023 15:03:41 +0100 Subject: [PATCH] CI: Allow a GitHub container registry mirror to be specified To make the pipeline slightly more resilient to external networking issues, allow a local container registry mirror to be specified in the GitLab settings. If not specified, the upstream container registry is used automatically. Signed-off-by: Peter Hoyes Signed-off-by: Jon Mason --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a2af8716..06fba597 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,10 @@ -image: ghcr.io/siemens/kas/kas:3.3 +image: ${MIRROR_GHCR}/siemens/kas/kas:3.3 variables: CPU_REQUEST: "" DEFAULT_TAG: "" CACHE_DIR: $CI_BUILDS_DIR/persist + MIRROR_GHCR: ghcr.io # These are needed as the k8s executor doesn't respect the container entrypoint # by default FF_KUBERNETES_HONOR_ENTRYPOINT: 1