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
Next: Root
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.
Previously I was using
image: openkbs/jdk11-mvn-py3
and this worked fine. Then I forked that docker image to fingage/jdk17-mvn-py3 and made sure it was public and changed the line:
image: fingage/jdk17-mvn-py3
Now I get an error
rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/fingage/jdk17-mvn-py3:latest": failed to resolve reference "docker.io/fingage/jdk17-mvn-py3:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
any ideas?
Thanks, Jason
Hello @Jason Novotny
Thank you for reaching out to Atlassian Community!
The error you reported is because that image either does not exist or is a private image. If you access the fingage repository in Dockerhub you can check that there's currently no public image listed with the name jdk17-mvn-py3.
If the image is private, you can use the following syntax in your Bitbucket pipelines yml file to provide the Docker hub credentials :
image:
name: fingage/jdk17-mvn-py3
username: $DOCKER_HUB_USERNAME
password: $DOCKER_HUB_PASSWORD
However, if you want to set the image as public in your docker hub repository, you can follow Dockerhub's documentation to Configure repositories.
Hope that helps! Let me know in case you have any questions.
Thank you, @Jason Novotny .
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.