summaryrefslogtreecommitdiff
path: root/cmd/podman/images/build.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-13 10:42:13 +0100
committerGitHub <noreply@github.com>2020-11-13 10:42:13 +0100
commit42a5b0fd93c8a19433be814273e9ac80e53d7bbe (patch)
tree3aeddd3f573261f0571d7cdacbea04e968db42ee /cmd/podman/images/build.go
parentb2d281afcc36a54bc168c3d1c16416e06966c4b3 (diff)
parent6ea13fd87282cbb564984fc09e22d099232bdd9c (diff)
downloadpodman-42a5b0fd93c8a19433be814273e9ac80e53d7bbe.tar.gz
podman-42a5b0fd93c8a19433be814273e9ac80e53d7bbe.tar.bz2
podman-42a5b0fd93c8a19433be814273e9ac80e53d7bbe.zip
Merge pull request #8301 from TomSweeneyRedHat/dev/tsweeney/fixpully
Change podman build --pull=true to PullIfMissing
Diffstat (limited to 'cmd/podman/images/build.go')
-rw-r--r--cmd/podman/images/build.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/images/build.go b/cmd/podman/images/build.go
index f48d1cd94..5d0208c63 100644
--- a/cmd/podman/images/build.go
+++ b/cmd/podman/images/build.go
@@ -249,7 +249,7 @@ func buildFlagsWrapperToOptions(c *cobra.Command, contextDir string, flags *buil
}
if flags.PullNever {
- pullPolicy = imagebuildah.PullNever
+ pullPolicy = imagebuildah.PullIfMissing
}
args := make(map[string]string)