0

I have a docker multi stage build which takes ~1.5hours to run.

I am building the image in a GitLab CI pipeline and pushing it to a container repository. The problem is because of the way my CI pipeline works, there is no caching of builds and everything must be run from scratch each time.

Is it possible to pull the previous version of an image from the container registry before trying to build the new one? and in doing so benefit from the caching of previous stages.

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.