I've set up a new Docker registry and I created my first build plan that would use it. I set up a Docker build task and a Docker push task.
I created shared credentials for my Docker registry and set to use those in my push task.
But now I ran into a problem: For some reason the push task tries to log out of the new registry but it has never logged into it yet.
simple 08-Jul-2019 11:28:54 Starting task 'Push image' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
command 08-Jul-2019 11:28:54 Beginning to execute external process for build 'X - Default Job #4 (SYN-GATE-JOB1-4)'\n ... running command line: \n/usr/bin/docker logout truncated.registry.tld\n ...
Thus that is causing my build to fail with an error:
build 08-Jul-2019 11:28:55 Not logged in to truncated.registry.tld
error 08-Jul-2019 11:28:55 Error occurred while running Task 'Push image(3)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli.
How can I fix this?