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 &