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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.