From da9dc4bb919ecd54104c7420b437d49068db9cba Mon Sep 17 00:00:00 2001 From: Zlatko Bratkovic Date: Wed, 17 Jan 2024 10:01:33 +0100 Subject: [PATCH] CLEANUP/MINOR: ci: remove deprecated gitlab token usage --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 72f70672..684aa25b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -113,7 +113,7 @@ docker-build: tags: - go 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 - go version - docker pull -q $CI_REGISTRY_GO/alpine:3 - docker image tag $CI_REGISTRY_GO/alpine:3 alpine:3 @@ -142,7 +142,7 @@ docker-build-sch: tags: - go 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 - go version - docker pull -q $CI_REGISTRY_GO/alpine:3 - docker image tag $CI_REGISTRY_GO/alpine:3 alpine:3 @@ -178,7 +178,7 @@ docker-build-sch: exclude: - tar/* 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 load -i tar/k8sIC.tar - go version - go mod download &