diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 511ea37..75da756 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - CI_REGISTRY_IMAGE: thallian/nextcloud + CONTAINER_NAME: thallian/nextcloud build: stage: build @@ -13,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"