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, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
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