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>
(cherry picked from commit
bc80c5fde5944f04a31d3f9f29db145b05214ab3)
cmd = [
ctx.container_engine,
"build",
- "--pull=always",
+ "--pull",
"-t",
ctx.image_name,
f"--build-arg=JENKINS_HOME={ctx.cli.homedir}",