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.
I want to set up pipelines for building an application. I built a custom container for the build but can't pull the container (public repository). I am using a basic pipeline that just pulls a container and echos just to get it working. It works for all of the docker official images, but fails to pull any public or private images (not just mine). The tutorials on this seemed straight forward and I can't see where it's having trouble. The bitbucket repository that this is in is private.
In the bitbucket-pipelines.yml file, below is the only thing not commented out. I have changed no flags in the reposity, so if there is a hidden setting, I haven't changed it. This code works if I use "image: debian", but not when I use "image: arm32v7/debian" (this is the base for my custom container, but I have been testing with this to prevent the issue being a personal repository setting).
Using arm only docker images as build env is not currently supported.
Kind regards,
Natalia
Here is the doc about using Docker images as build env for your pipeline:
https://support.atlassian.com/bitbucket-cloud/docs/use-docker-images-as-build-environments/
Depending on your case, there is an associated config to do... If your image is public on the Dockerhub you can use:
image: account-name/image-name:version
To help you validate your Yaml file online, Atlassian provides a great website for that also, I want to share the link with you cause it's a very useful tool and not so much people knows it: https://bitbucket-pipelines.atlassian.io/validator
I hope this helps a bit.
Cheers,
Dam.
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.