You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm trying to setup my docker hub build automation.
The build can't get access to private repo to download dependencies, and to solve it, docker hub states to use their own public rasa key:
When I try to use this key in my bitbucket account, i'm getting this message:
Someone has already added that key as an access key to a repository.
Can you help me ?
Hello @sparkgo ,
Thank you for reaching out to Atlassian Community.
Could you please give us more details about what exactly integration you are trying to do with Dockerhub?
Are you trying to download a private docker image from within your Bitbucket Pipelines build?
If yes, then you would have to first execute the docker login command as part of your build, providing your docker account credentials, as in the below example :
docker login --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
In this example, it's assumed that you have created two environmental variables in your bitbucket pipelines containing your docker account username and password.
After the docker login command is executed, you should be able to docker pull any private image part of that docker account into your bitbucket build.
Thank you, @sparkgo .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.