Forums

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

Multiple docker caches

Germán Schuager
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2020

I have a monorepo with 2 different applications.

Initially I have set up 2 custom pipelines.

Each of them uses their own Dockerfile to build the corresponding output image, but the base images are different.

Something like this:

custom:

    backend:

      - step:

          name: Build

          script:

            - bash ./backend/build.sh

          services:

            - docker

          caches:

            - docker

    webspa:

      - step:

          name: Build

          script:

            - bash ./webspa/build.sh

          services:

            - docker

          caches:

            - docker

 

The problem I'm facing is that I can only have a single docker cache, which speeds up the build that originally generated it, but it is useless for the other one.

Is there a way to configure more than one docker cache?

 

2 answers

0 votes
Ian Kundil June 24, 2022

Did anyone find a solution for this?

0 votes
Uday Shanbhag
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 1, 2022

Yes. Even I have same issue. Is this resolved or any one has found workaround. we use self hosted runners

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events