diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 243f2b6..f52ba92 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,11 +8,11 @@ stages: - release variables: - TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME + TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_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 + - echo $CI_JOB_TOKEN | docker login -u gitlab-ci-token --password-stdin registry.gitlab.com build: stage: build