hello,
re: https://support.atlassian.com/bitbucket-cloud/docs/run-docker-commands-in-bitbucket-pipelines/#Authenticate-when-pushing-to-a-registry
the authentication portion is incorrect.
Following this users get:
<span>WARNING! Using --password via the CLI is insecure. Use --password-stdin.</span><span>Error response from daemon: Get "<a href="https://registry-1.docker.io/v2/" rel="noopener nofollow noreferrer" target="_blank">https://registry-1.docker.io/v2/</a>": unauthorized: incorrect username or password</span><span>+ docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD</span>
<span>WARNING! Using --password via the CLI is insecure. Use --password-stdin.</span>
<span>Error response from daemon: Get "<a href="https://registry-1.docker.io/v2/" rel="noopener nofollow noreferrer" target="_blank">https://registry-1.docker.io/v2/</a>": unauthorized: incorrect username or password</span>
I reported this incorrectly.
Both long and short parameters work.
The issue was due to case sensitivity of docker hub account names....
// Don't ask how many hours it cost me....
It looks like you're new here. Sign in or register to get started.