From 4fb7bd2c1be34a43486943ba21e705297d463d7a Mon Sep 17 00:00:00 2001 From: pramenku <7664080+pramenku@users.noreply.github.com> Date: Wed, 22 Oct 2025 14:10:47 +0530 Subject: [PATCH] [release/2.8] Enable CentOS logic https://ontrack-internal.amd.com/browse/SWDEV-549853 --- .ci/docker/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.ci/docker/build.sh b/.ci/docker/build.sh index 50ec4b3841c68..47093d1464e81 100755 --- a/.ci/docker/build.sh +++ b/.ci/docker/build.sh @@ -56,10 +56,14 @@ elif [[ "$image" == *-noble* ]]; then UBUNTU_VERSION=24.04 elif [[ "$image" == *ubuntu* ]]; then extract_version_from_image_name ubuntu UBUNTU_VERSION +elif [[ "$image" == *centos* ]]; then + extract_version_from_image_name centos CENTOS_VERSION fi if [ -n "${UBUNTU_VERSION}" ]; then OS="ubuntu" +elif [ -n "${CENTOS_VERSION}" ]; then + OS="centos" else echo "Unable to derive operating system base..." exit 1