GitLab CI Kotlin DSL • opensavvy.gitlab.ci.plugins • Docker • pull
pull¶
Pulls a given image's version.
Note that pulling a previous version of an image before building a new version is useless: Docker's cache is able to reuse layers without pulling the image.
Parameters¶
- image
-
The name of the image to pull (e.g.
"alpine","curlimages/curl"). - version
-
The version to pull (e.g.
"edge"). - allowFailure
-
If set to
true, failing to pull the image will be ignored, and will not fail the current job.