Gitlab CI: How do I download a image before jobs start executing?

Viewed 86

I'm trying to run jobs in multiple stages. Is it possible to download a image while previous stages are running & current stage execution has not started?

1 Answers

Considering jobs in the same stage run in parallel, you can define a job using a shell executor which will do a docker pull.

In the same stage, you can define other jobs which can execute parallel commands.

The next stage, executed on the same runner, will benefit from the docker image already downloaded.

Related