mirror of
https://gitlab.com/fdroid/docker-executable-fdroidserver.git
synced 2025-01-15 18:52:21 +01:00
gitlab-ci: securely pass CI_BUILD_TOKEN in to docker login
This commit is contained in:
parent
51ec41783b
commit
a3209ce219
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ variables:
|
|||
RELEASE_IMAGE: registry.gitlab.com/$CI_PROJECT_NAMESPACE/${CI_PROJECT_NAME}:latest
|
||||
|
||||
before_script:
|
||||
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
|
||||
- echo $CI_BUILD_TOKEN | docker login -u gitlab-ci-token --password-stdin registry.gitlab.com
|
||||
|
||||
build:
|
||||
stage: build
|
||||
|
|
Loading…
Reference in a new issue