The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Bitbucket Pipelines' public image caching

Yoshi Han
August 1, 2024

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events