Currently we have pipelines that build an image, and then want to run tests with that image. Importantly, we want to run those tests in parallel. Our best workaround right now has been to build and push the image, then pull it for each of the parallel testing steps. We've tried the Docker caching on each step like this:
services:
- docker
caches:
- docker
Unfortunately that hasn't worked for us either, the images built in the first step still have to be pulled for subsequent steps. This seems like the kind of thing that should already exist, are we missing something obvious here?
Hi @Rob Scott
This is currently not supported natively, but I suggest you raise a feature request here.
In the meantime, we do have docker layer caching, configured via the yaml snippet you included above which should make pulls faster between builds.
Hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.