pack should have a pull policy of "try always" #2201
Labels
status/discussion-needed
Issue or PR that requires in-depth discussion.
type/enhancement
Issue that requests a new feature or improvement.
Description
Pull policy governs the pull behavior WRT ALL images used in the build - builder, buildpack packages, lifecycle image, run image
Today we have:
always
- try to pull, and fail if image is not found in the registrynever
- never pullif-not-present
- only try to pull if the image doesn't exist locallyProposed solution
We should also have:
try-always
(or something) - try to pull, fall back to local copy if present, and fail if image is not found in the daemonThis will cover cases where, e.g,. the builder is some local image that only exists in the daemon, but we want to make sure that we have the latest version of all other image inputs.
Describe alternatives you've considered
Do nothing
Additional context
The text was updated successfully, but these errors were encountered: