We're using custom docker images for our CI builds on Bitbucket. There is a new build we would like to setup but this docker image will include proprietary software, so we need a private docker registry.
Is it possible to use a bitbucket cloud repo to store this docker image if we set it up with LFS?
I suppose you could do this, but bear in mind that this is not a true Docker registry. For that, you would need to do something like what is described in Docker's Deploy a registry server documentation.
Thinking of a Docker image as simply another kind of artifact, you could use a Bitbucket repo’s “downloads” section to store images outside of the repository itself, but in a place that your repository can conceivably get to. Check out https://support.atlassian.com/bitbucket-cloud/docs/deploy-build-artifacts-to-bitbucket-downloads/, it’s looking at this possibly from a slightly different angle than you are but you should be able to use the approach here to store and retrieve image files, which you can then use with standard docker commands.
I hope that helps Pete!
Hi everyone, We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events