From dd151fc7bba725f1f7bd66140d3a17f4b9b05701 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Mon, 14 Feb 2022 08:11:31 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1a8b44..c2669e2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - CI_REGISTRY_IMAGE: thallian/php8-fpm + CONTAINER_NAME: thallian/php8-fpm build: stage: build @@ -13,9 +13,9 @@ 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" downstream: stage: .post