Skip to content

Commit

Permalink
common: clean up
Browse files Browse the repository at this point in the history
wip

Signed-off-by: Guillaume Abrioux <[email protected]>
  • Loading branch information
guits committed May 30, 2024
1 parent fe3baff commit 8ef65a3
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions contrib/build-push-ceph-container-imgs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down

0 comments on commit 8ef65a3

Please sign in to comment.