Skip to content

Commit

Permalink
Fixes: #15266 All docker images of Architecture show amd64
Browse files Browse the repository at this point in the history
Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
  • Loading branch information
zhangguanzhang committed Feb 9, 2023
1 parent d0575e4 commit b3a6f98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,15 @@ main() {
for TARGET_ARCH in "amd64" "arm64" "ppc64le" "s390x"; do
log_callout "Pushing container images to quay.io ${RELEASE_VERSION}-${TARGET_ARCH}"
maybe_run docker push "quay.io/coreos/etcd:${RELEASE_VERSION}-${TARGET_ARCH}"
maybe_run docker manifest create "quay.io/coreos/etcd:${RELEASE_VERSION}-${TARGET_ARCH}" "quay.io/coreos/etcd:${RELEASE_VERSION}-${TARGET_ARCH}"
maybe_run docker manifest annotate "quay.io/coreos/etcd:${RELEASE_VERSION}-${TARGET_ARCH}" "quay.io/coreos/etcd:${RELEASE_VERSION}-${TARGET_ARCH}" --arch "${TARGET_ARCH}"
maybe_run docker manifest push "quay.io/coreos/etcd:${RELEASE_VERSION}-${TARGET_ARCH}"

log_callout "Pushing container images to gcr.io ${RELEASE_VERSION}-${TARGET_ARCH}"
maybe_run docker push "gcr.io/etcd-development/etcd:${RELEASE_VERSION}-${TARGET_ARCH}"
maybe_run docker manifest create "gcr.io/etcd-development:${RELEASE_VERSION}-${TARGET_ARCH}" "gcr.io/etcd-development:${RELEASE_VERSION}-${TARGET_ARCH}"
maybe_run docker manifest annotate "gcr.io/etcd-development:${RELEASE_VERSION}-${TARGET_ARCH}" "gcr.io/etcd-development:${RELEASE_VERSION}-${TARGET_ARCH}" --arch "${TARGET_ARCH}"
maybe_run docker manifest push "gcr.io/etcd-development:${RELEASE_VERSION}-${TARGET_ARCH}"
done

log_callout "Creating manifest-list (multi-image)..."
Expand Down

0 comments on commit b3a6f98

Please sign in to comment.