From cc99795f7857da5e35ae934218300cf922cb211a Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 14 Feb 2022 08:12:24 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9ebe450..f5f21ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,5 @@ -stages: - - build - variables: - CI_REGISTRY_IMAGE: thallian/roundcube + CONTAINER_NAME: thallian/roundcube build: stage: build @@ -16,6 +13,6 @@ build: /kaniko/executor --context "$CI_PROJECT_DIR" --dockerfile "$CI_PROJECT_DIR/Dockerfile" - --destination "$CI_REGISTRY_IMAGE:$CI_COMMIT_SHA" - --destination "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_NAME" - --destination "$CI_REGISTRY_IMAGE:latest" + --destination "$CONTAINER_NAME:$CI_COMMIT_SHA" + --destination "$CONTAINER_NAME:$CI_COMMIT_REF_NAME" + --destination "$CONTAINER_NAME:latest"