Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Fix image platform for arm image #636

Merged
merged 1 commit into from
Jul 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions hack/push-manifest-list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,11 @@ for arch in ${ARCHES}; do
${DOCKER} manifest annotate --arch=${arch} ${IMAGE} ${IMAGE}-${arch}
done
${DOCKER} manifest push --purge ${IMAGE}

for arch in ${ARCHES}; do
CURR_IMAGE=${IMAGE}-${arch}
${DOCKER} manifest create --amend ${CURR_IMAGE} ${CURR_IMAGE}
${DOCKER} manifest annotate --arch=${arch} ${CURR_IMAGE} ${CURR_IMAGE}
${DOCKER} manifest push --purge ${CURR_IMAGE}
done