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 <dmick@redhat.com>
(cherry picked from commit
7e03ee798f4ed3aa4a0bb1a9e9d62df52e54406d)
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}