Hi,
Is there a way how to cache a custom private image for pipeline, please?
The custom image is pulled every time and it increases unnecessarily the build time.
Hi František,
if you are talking about the base image used in your `bitbucket-pipelines.yml` file, then unfortunately there is no way to cache private docker images. This is actually a limitation of the Docker Registry we are using.
Antoine
Hi, Is this still the case? For example, my pipeline looks like the following:
image: paddymccrudden/latex:ctanfull
caches:
- docker
pipelines:
default:
- step:
name: Latex
script:
- pdflatex main.tex
...
But I don't think that the base image is being cached.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Antoine Büsch Is this something that's being worked on? We have private images hosted on AWS ECR and would benefit greatly from these images being cached.
Edit: Official feature request: https://jira.atlassian.com/browse/BCLOUD-19918
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Antoine Büsch Same here, really need this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
same here, each time to pull my image from aws-ecr i need 20-30 seconds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We also really would like to have this as we rely on custom private Docker base images heavily and at the moment pulling those Docker images from our custom Nexus Docker registry takes around 5 minutes (!) for every build. And yes, we could maybe move to a cloud Docker registry but then we still very much would want to have this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Has this been implemented now ? Can we cache private images hosted on private registries ?
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.
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.