Status: Reopened (View Workflow)
[service] $ docker push registry/dev/service The push refers to a repository [registry/dev/service] (len: 1) Sending image list Please login prior to push: Username: EOF Build step 'Docker Build and Publish' marked build as failure
Currently installed 'CloudBees Docker Build and Publish plugin' with version 1.0
this is odd, because i use this credentials more than week or may be two. and no updates with jenkins or plugins recently was done
created additional jenkins credentials for registry and it works (old jenkins credentials have incorrect password)
thank you for help
Sorry if i shouldn't open this issue again but i am running into the exact same issue,
I have confirmed that the user id and password work fine by manually pushing the image from the remote slave, the issue is when i try to push the same using the plugin it breaks.
Additionally if I try to
docker login -u abcdef -p ******* -e firstname.lastname@example.org docker-registry.com
docker logout docker-registry.com
This setup works fine, seems to me like something is not getting passed (especially the credentials)
Below are the details of the plugins installed
CloudBees Docker Build and Publish plugin - 1.0
Docker Commons Plugin - 1.2
Credentials Plugin - 1.23
Can you please help..!
I am having the same issue. I have the latest version of the plugin.
I attached a debugger and managed to figure out my issue. My /home/jenkins/.dockercfg file had both a http and https url endpoint for my registry. The https endpoint had the correct password set. The http one did not. This may have something to do with me recently changing my password. To correct it I removed the stale http entry.
that means your credentials are incorrect