Skip to content

Commit 7e03ee7

Browse files
committed
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 <[email protected]>
1 parent a2a4d9b commit 7e03ee7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

container/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ if [[ ${CI_CONTAINER} == "true" ]] ; then
136136
branch_repo_tag=$repopath/ceph:${BRANCH}
137137
sha1_repo_tag=$repopath/ceph:${CEPH_SHA1}
138138

139-
if [[ "${ARCH}" == "aarch64" ]] ; then
140-
branch_repo_tag=${branch_repo_tag}-aarch64
141-
sha1_repo_tag=${sha1_repo_tag}-aarch64
139+
if [[ "${ARCH}" == "arm64" ]] ; then
140+
branch_repo_tag=${branch_repo_tag}-arm64
141+
sha1_repo_tag=${sha1_repo_tag}-arm64
142142
fi
143143

144144
podman tag ${image_id} ${full_repo_tag}

0 commit comments

Comments
 (0)