Skip to content

Commit fd71002

Browse files
committed
CLEANUP/MINOR: ci: remove deprecated gitlab token usage
1 parent 3dc5234 commit fd71002

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
@@ -108,7 +108,7 @@ docker-build:
108108
tags:
109109
- go
110110
before_script:
111-
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY_GO
111+
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY_GO
112112
- go version
113113
- docker pull -q $CI_REGISTRY_GO/alpine:3
114114
- docker image tag $CI_REGISTRY_GO/alpine:3 alpine:3
@@ -137,7 +137,7 @@ docker-build-sch:
137137
tags:
138138
- go
139139
before_script:
140-
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY_GO
140+
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY_GO
141141
- go version
142142
- docker pull -q $CI_REGISTRY_GO/alpine:3
143143
- docker image tag $CI_REGISTRY_GO/alpine:3 alpine:3
@@ -174,7 +174,7 @@ docker-build-sch:
174174
exclude:
175175
- tar/*
176176
before_script:
177-
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN $CI_REGISTRY_GO
177+
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY_GO
178178
- docker load -i tar/k8sIC.tar
179179
- go version
180180
- go mod download &

0 commit comments

Comments
 (0)