From 5de73196bfa22390e6955ba841d143efeecaddd9 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 59fe2780..ea9aea03 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -163,7 +163,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