diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d09c319..243f2b6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,8 @@ stages: - release variables: - TEST_IMAGE: registry.gitlab.com/$CI_PROJECT_NAMESPACE/${CI_PROJECT_NAME}:$CI_BUILD_REF_NAME - RELEASE_IMAGE: registry.gitlab.com/$CI_PROJECT_NAMESPACE/${CI_PROJECT_NAME}:latest + TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME + RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest before_script: - echo $CI_BUILD_TOKEN | docker login -u gitlab-ci-token --password-stdin registry.gitlab.com