]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
script/build-with-container.py: build builder image with --pull=always
authorJohn Mulligan <jmulligan@redhat.com>
Wed, 19 Feb 2025 18:20:01 +0000 (13:20 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 6 Mar 2025 21:13:16 +0000 (16:13 -0500)
commitd98c9369cdf2b872f30151f43f496d8fbcd8d85a
tree1251cec030d6fa757207589bcb633daaffac9a0d
parentc63344e6e3b0f61c9e51d8e08f9d111e2a48390d
script/build-with-container.py: build builder image with --pull=always

Construct the builder image using the --pull=always flag to initiate a
pull of the base image (centos, ubuntu, etc) in order to avoid using a
stale base image. Since the script automatically (by default) avoids
building if a matching tag is in local container storage it is handy to
use a fresh base when it *is* time to build something. Otherwise, you
end up in a situation like I sometimes do - using a months old base
unintentionally.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit f6e6188e30a9d765e86bd2d710666cfbdeb0818c)
src/script/build-with-container.py