Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,547
Community Members
 
Community Events
168
Community Groups

Multiple docker caches

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 comments

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

Did anyone find a solution for this?

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events