From: David Galloway Date: Mon, 27 Oct 2025 13:09:39 +0000 (-0400) Subject: build_container: RELEASE=9, not RELEASE=stream9. Accept both. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2479%2Fhead;p=ceph-build.git build_container: RELEASE=9, not RELEASE=stream9. Accept both. Signed-off-by: David Galloway --- diff --git a/scripts/build_container b/scripts/build_container index 4f8ff948f..b7e839e67 100755 --- a/scripts/build_container +++ b/scripts/build_container @@ -39,9 +39,9 @@ if [[ $CI_CONTAINER == "true" && $DISTRO == "centos" && "$RELEASE" =~ 8|9 ]] ; t [[ -d ./dist/ceph/container ]] && cd ./dist/ceph/container || cd dist/ceph-${cephver}/container from_image_spec="${DISTRO}:${RELEASE}" case "${from_image_spec}" in - "centos:stream9") FROM_IMAGE=quay.io/centos/centos:stream9 ;; - "rocky:10") FROM_IMAGE=docker.io/rockylinux/rockylinux:10 ;; - *) echo "Don't know requested FROM image ${from_image_spec}"; exit 1 ;; + "centos:9"|"centos:stream9") FROM_IMAGE=quay.io/centos/centos:stream9 ;; + "rocky:10") FROM_IMAGE=docker.io/rockylinux/rockylinux:10 ;; + *) echo "Don't know requested FROM image ${from_image_spec}"; exit 1 ;; esac FROM_IMAGE=${FROM_IMAGE} CEPH_SHA1=${SHA1} ./build.sh fi