From c093b7798b442c94b44bc51b16d1f6698e6f66bb Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 5 May 2023 12:13:22 +0000 Subject: [PATCH] gitlab-ci: CI_BUILD_* vars were renamed to other things --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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