Not sure how to ask this without creating an issue.
Is is possible to Pre-build/cache an image on one pipeline, say one that runs on master whenever a commit is added, and pull that cached image on another pipeline without having to declare it in the same set of steps?
So something like this:
Pipeline 1 yml - build and push docker image (runs on master)
Hey @amit-nayar! No worries, you can create a new issue with questions/doubts 🙂
Nope 😔 that's not possible with the docker-compose plugin, and would be out of the scope of plugins.
Not sure how to ask this without creating an issue.
Is is possible to Pre-build/cache an image on one pipeline, say one that runs on
master
whenever a commit is added, and pull that cached image on another pipeline without having to declare it in the same set of steps?So something like this:
Pipeline 1 yml - build and push docker image (runs on master)
pipeline 2 yml - tests - run on each PR
I have tried this approach but it is trying to build the image each time on the tests pipeline.