From ff358460af91362cbba6ad0b9293b156b44bb86e Mon Sep 17 00:00:00 2001 From: Zlatko Bratkovic Date: Wed, 17 Jan 2024 10:51:56 +0100 Subject: [PATCH] CLEANUP/MINOR: ci: remove deprecated gitlab token usage --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f2feb16..6108d16e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -144,7 +144,7 @@ test: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' - if: $CI_PIPELINE_SOURCE == 'push' before_script: - - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY_GO + - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY_GO - docker pull -q $CI_REGISTRY_GO/golang:$GO_VERSION-alpine - docker image tag $CI_REGISTRY_GO/golang:$GO_VERSION-alpine golang:$GO_VERSION-alpine - docker pull -q $CI_REGISTRY_GO/haproxy-alpine:$HAPROXY_VERSION