From: Dan Mick Date: Thu, 10 Oct 2024 23:38:58 +0000 (-0700) Subject: container/build.sh: fix arm architecture tagging X-Git-Tag: testing/wip-vshankar-testing-20241016.135728-debug~37^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7e03ee798f4ed3aa4a0bb1a9e9d62df52e54406d;p=ceph-ci.git container/build.sh: fix arm architecture tagging The wrong string was used for comparison, and for tagging, so the arm64 branch and sha1 images overwrote and destroyed the amd64 images. Signed-off-by: Dan Mick --- diff --git a/container/build.sh b/container/build.sh index 7c97e2261c1..5edf469d2d2 100755 --- a/container/build.sh +++ b/container/build.sh @@ -136,9 +136,9 @@ if [[ ${CI_CONTAINER} == "true" ]] ; then branch_repo_tag=$repopath/ceph:${BRANCH} sha1_repo_tag=$repopath/ceph:${CEPH_SHA1} - if [[ "${ARCH}" == "aarch64" ]] ; then - branch_repo_tag=${branch_repo_tag}-aarch64 - sha1_repo_tag=${sha1_repo_tag}-aarch64 + if [[ "${ARCH}" == "arm64" ]] ; then + branch_repo_tag=${branch_repo_tag}-arm64 + sha1_repo_tag=${sha1_repo_tag}-arm64 fi podman tag ${image_id} ${full_repo_tag}