From 8ef65a318d37bcbbab0c03f4389417d51dc71b3e Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Thu, 30 May 2024 10:45:36 +0200 Subject: [PATCH] common: clean up wip Signed-off-by: Guillaume Abrioux --- contrib/build-push-ceph-container-imgs.sh | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/contrib/build-push-ceph-container-imgs.sh b/contrib/build-push-ceph-container-imgs.sh index 9bc162403..a785aeb54 100644 --- a/contrib/build-push-ceph-container-imgs.sh +++ b/contrib/build-push-ceph-container-imgs.sh @@ -316,27 +316,6 @@ function push_ceph_imgs_latest { fi return fi - - for release in "${CEPH_RELEASES[@]}" latest; do - if [[ "$release" == "latest" ]]; then - latest_name="latest" - # Use the last item in the array which corresponds to the latest stable Ceph version - release=${CEPH_RELEASES[-1]} - else - latest_name="latest-$release" - fi - if ${DEVEL}; then - latest_name="${latest_name}-devel" - fi - for i in daemon-base daemon demo; do - tag=${CONTAINER_REPO_ORGANIZATION}/$i:${CONTAINER_BRANCH}-${CONTAINER_SHA}-$release-centos-stream$(_centos_release "${release}")-${HOST_ARCH} - # tag image - docker tag "$tag" "${CONTAINER_REPO_ORGANIZATION}"/$i:"$latest_name" - - # push image to the registry - docker push "${CONTAINER_REPO_ORGANIZATION}"/$i:"$latest_name" - done - done } declare -F wait_for_arm_images ||