rundeck-plugins / docker

Providers for docker
28 stars 23 forks source link

Is it possible to pull the image every time? #55

Closed jimbali closed 3 years ago

jimbali commented 4 years ago

Sometimes we might want to pin to a minor version tag of a Docker image, for example 1.2. If the job has already run when version 1.2.1 of the image was also tagged as 1.2, then later on version 1.2.2 is released and is tagged as 1.2, then when we run the job again it will not pull the newer image as it already has an image with the 1.2 tag. It would be useful to be able to specify an image pull policy, which would give us the option of always trying to pull the image.

jimbali commented 3 years ago

Great, thanks!