Skip to content

Commit acdc2a4

Browse files
committed
Gitlab ci update
1 parent 05f9190 commit acdc2a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ audit:
6363
services:
6464
- docker:27-dind
6565
before_script:
66-
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
66+
- docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
6767

6868
build-api:
6969
extends: .docker-build
@@ -134,7 +134,7 @@ scan-cli:
134134
rules:
135135
- if: $CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+/
136136
before_script:
137-
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
137+
- docker login -u gitlab-ci-token -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
138138

139139
push-api:
140140
extends: .docker-push

0 commit comments

Comments
 (0)