Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Pipelines' public image caching

Yoshi Han August 1, 2024 edited

https://bitbucket.org/blog/bringing-speed-power-flexibility-12-new-features-bitbucket-pipelines

According to the blog above, the Bitbucket Pipelines provides public image caching. Where can I find a list of cached public images?

1 answer

1 accepted

0 votes
Answer accepted
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 4, 2024

Hi @Yoshi Han

Welcome to the community.

I don't think the cached public images are visible anywhere in the Bitbucket Cloud Pipelines UI.

Currently, when you use a public Docker image (that was not cached before) in Bitbucket Cloud Pipelines, it will be automatically cached in the background; hence, when you use the image again, you will notice a significant boost in starting up the image.

Let me know if you have any further questions.

Regards,
Mark C

Yoshi Han August 4, 2024

Hi @Mark C 

Thank you for your answer, but I have additional question.

Below is the part where the base image is downloaded. Can I determine whether a cached image was used by looking at the log below? Or can I find out by comparing build times?

Screenshot 2024-08-05 at 11.25.17 AM.png  

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 5, 2024

Hi @Yoshi Han

May I confirm if the logs from the screenshot are from the "Build setup"? If not, unfortunately, the Docker image is not your base Docker image.

The base Docker image is usually the one you use in your YAML configuration as "image:" tag.

For example:

image: atlassian/default-image:4


Regards,
Mark C

Like Yoshi Han likes this
Yoshi Han August 6, 2024 edited

Oh, I see.
You mean that the image used in the "bitbucket-pipelines.yml" file is cached.

But the above logs are from "docker build ...".
So the base image used in Docker build process is not cached?

Screenshot 2024-08-06 at 3.56.01 PM.png

Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 7, 2024

Hi @Yoshi Han

Unfortunately, no, we don't cache public build images that were built within the build step container by default, however, you have the option to cache them using Bitbucket Cloud Pipelines caching feature.

Regards,
Mark C

Like Yoshi Han likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events