Commit d1bda503 authored by Anthony FREYERMUTH's avatar Anthony FREYERMUTH
Browse files

[#2] Retrying first way to docker login

parent 0a0a3ad9
Pipeline #56205 failed with stages
in 3 minutes and 15 seconds
......@@ -20,9 +20,10 @@ docker-build:
- docker logout
- echo $CI_JOB_TOKEN
- echo $CI_REGISTRY
- echo "$CI_JOB_TOKEN" | docker login --username=gitlab-ci-token --password-stdin $CI_REGISTRY
#- echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY -u gitlab-ci-token --password-stdin
#- docker login -u $CI_JOB_USER -p $CI_JOB_TOKEN $CI_REGISTRY
- docker login -u "gitlab-ci-token" -p $CI_JOB_TOKEN $CI_REGISTRY
#- docker login -u "gitlab-ci-token" -p $CI_JOB_TOKEN $CI_REGISTRY
script:
- docker build --rm ./ -t ${IMAGE_FQDN}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment