Registry Login: Email EOF
Hi,
today i updated to gitlab 8.12.7 and since then the docker login command is not working from my ssh-runner:
gitlab-ci.yml
deploy_docker_to_dev:
stage:
deploy_docker_dev
script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.intern.com
- docker pull $CONTAINER_RELEASE_IMAGE
console output
$ docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.intern.com
Email: EOF
ERROR: Build failed: Process exited with: 1. Reason was: ()
The strange thing is that the same command is working form my dind-runner:
gitlab-ci.yml
build_docker_image:
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.intern.com
stage: build_docker
script:
- docker build -t $CONTAINER_RELEASE_IMAGE .
- docker push $CONTAINER_RELEASE_IMAGE
console output
$ docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.intern.com
Login Succeeded
$ docker build -t $CONTAINER_RELEASE_IMAGE .
Before the update the docker login command worked with both runners. I don't understand why the login command asks for an password?
Thanks Greets Kilian