Use the cache_to option for docker builds

Marcus December 11, 2024

We want to share the docker build cache across our pipeline steps. Therefore we want to use the cache_to option from docker build specification. 

Currently this is not possible, because we need to use buildkit and a different build driver than the default one, which leads to the error:

ERROR: Error response from daemon: authorization denied by plugin pipelines: --privileged=true is not allowed

Is it planned to make this possible? Maybe just for self-hosted runners?

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 15, 2024

Hi Marcus,

May I know which type of runner platform you are using? For example - is this Linux Shell/Linux Docker/Windows/Mac?

Cheers!

- Ben (Bitbucket Cloud Support)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events