]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_container: RELEASE=9, not RELEASE=stream9. Accept both. 2479/head
authorDavid Galloway <david.galloway@ibm.com>
Mon, 27 Oct 2025 13:09:39 +0000 (09:09 -0400)
committerDavid Galloway <david.galloway@ibm.com>
Mon, 27 Oct 2025 13:19:03 +0000 (09:19 -0400)
Signed-off-by: David Galloway <david.galloway@ibm.com>
scripts/build_container

index 4f8ff948fc6aa5d45f9de8ee2d3dd5e0ffd6d06f..b7e839e671a47d324102bfad3023946152a020c8 100755 (executable)
@@ -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