]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script/build-with-container: fix building on docker
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 14 Mar 2025 18:39:09 +0000 (14:39 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Sat, 15 Mar 2025 16:49:04 +0000 (12:49 -0400)
Fix building images on docker by using the `--pull` option instead of
`--pull=always`. The latter apparently only works on podman. The former
should do the same thing on both container engines.

Fixes: https://tracker.ceph.com/issues/70470
Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/script/build-with-container.py

index 6107c8cfa3efc2d9066dcbd703084acea846502f..03064a9201eef9bd89b5ca67590cd1be551002fa 100755 (executable)
@@ -459,7 +459,7 @@ def build_container(ctx):
     cmd = [
         ctx.container_engine,
         "build",
-        "--pull=always",
+        "--pull",
         "-t",
         ctx.image_name,
         f"--build-arg=JENKINS_HOME={ctx.cli.homedir}",