From 66e2d43a7e1b25d5e59e5f92bc27d8e0c2d944aa Mon Sep 17 00:00:00 2001 From: Shraddha Agrawal Date: Fri, 10 Apr 2026 14:10:55 +0530 Subject: [PATCH] container/build.sh: fix debug tag overwrite This commit fixes an issue when the image is not the base distro, the debug suffix for it is overwritten. This is especially required for crimson debug builds to work for rocky10. Fixes: https://tracker.ceph.com/issues/75952 Signed-off-by: Shraddha Agrawal --- container/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/container/build.sh b/container/build.sh index 60c502c9ea5e..51ffcce81f32 100755 --- a/container/build.sh +++ b/container/build.sh @@ -217,6 +217,10 @@ if [[ ${CI_CONTAINER} == "true" ]] ; then if [[ "${fromtag}" != "${default_fromtag}" ]] ; then branch_repo_tag=${repopath}:${BRANCH}-${fromtag} sha1_repo_tag=${repopath}:${CEPH_SHA1}-${fromtag} + if [[ ${FLAVOR} == "debug" ]]; then + branch_repo_tag=${branch_repo_tag}-${FLAVOR} + sha1_repo_tag=${sha1_repo_tag}-${FLAVOR} + fi fi if [[ "${ARCH}" == "arm64" ]] ; then -- 2.47.3