Skip to content

Commit da9dc4b

Browse files
committed
CLEANUP/MINOR: ci: remove deprecated gitlab token usage
1 parent 8894726 commit da9dc4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ docker-build:
113113
tags:
114114
- go
115115
before_script:
116-
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY_GO
116+
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY_GO
117117
- go version
118118
- docker pull -q $CI_REGISTRY_GO/alpine:3
119119
- docker image tag $CI_REGISTRY_GO/alpine:3 alpine:3
@@ -142,7 +142,7 @@ docker-build-sch:
142142
tags:
143143
- go
144144
before_script:
145-
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY_GO
145+
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY_GO
146146
- go version
147147
- docker pull -q $CI_REGISTRY_GO/alpine:3
148148
- docker image tag $CI_REGISTRY_GO/alpine:3 alpine:3
@@ -178,7 +178,7 @@ docker-build-sch:
178178
exclude:
179179
- tar/*
180180
before_script:
181-
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY_GO
181+
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY_GO
182182
- docker load -i tar/k8sIC.tar
183183
- go version
184184
- go mod download &

0 commit comments

Comments
 (0)