This is an automated email from the ASF dual-hosted git repository.

zike pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new af2fdb6a147c [fix] Update release docker image in release process 
(#745)
af2fdb6a147c is described below

commit af2fdb6a147c2afa53f921c7a158a282cd8e1fea
Author: Zike Yang <[email protected]>
AuthorDate: Tue Feb 20 21:25:14 2024 +0800

    [fix] Update release docker image in release process (#745)
    
    PIP: https://github.com/apache/pulsar/pull/21872
    
    The current release docker images process doesn't work for Pulsar above 
versions 3.0.0. Pulsar has added arm and amd arch supports for the docker 
image. If we use the original command to push the image, it will push only one 
arch.
    
    We recommend use tools like regctl to push images.
    
    For the latest tag of the pulsar image, this PR proposes to use the last 
feature release version or the patch release of the last feature release as the 
`latest` tag.
    
    ---------
    
    Co-authored-by: Penghui Li <[email protected]>
---
 contribute/release-process.md | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/contribute/release-process.md b/contribute/release-process.md
index 12a25fb74700..1583bf56d270 100644
--- a/contribute/release-process.md
+++ b/contribute/release-process.md
@@ -319,20 +319,20 @@ Promote the Maven staging repository for release. Login 
to `https://repository.a
 
 ### Release Docker images
 
-Copy the approved candidate docker images from your personal account to 
apachepulsar org.
+Please ensure that the regctl tools have been properly installed. They can be 
obtained from the following link: 
https://github.com/regclient/regclient/blob/main/docs/install.md
+
+Copy the approved candidate Docker images from your personal account to the 
apachepulsar organization:
 
 ```bash
-PULSAR_VERSION=2.x.x
+PULSAR_VERSION=3.x.x
 OTHER_DOCKER_USER=otheruser
-for image in pulsar pulsar-all pulsar-grafana pulsar-standalone; do
-    docker pull "${OTHER_DOCKER_USER}/$image:${PULSAR_VERSION}" && {
-      docker tag "${OTHER_DOCKER_USER}/$image:${PULSAR_VERSION}" 
"apachepulsar/$image:${PULSAR_VERSION}"
-      echo "Pushing apachepulsar/$image:${PULSAR_VERSION}"
-      docker push "apachepulsar/$image:${PULSAR_VERSION}"
-    }
-done
+CANDIDATE_TAG=3.x.x-80fb390
+regctl image copy ${OTHER_DOCKER_USER}/pulsar:${CANDIDATE_TAG} 
apachepulsar/pulsar:${PULSAR_VERSION}
+regctl image copy ${OTHER_DOCKER_USER}/pulsar-all:${CANDIDATE_TAG} 
apachepulsar/pulsar-all:${PULSAR_VERSION}
 ```
 
+If this release is a feature release or a patch release of the last feature 
release, you should also push these images to the `latest` tag.
+
 If you don't have the permission, you can ask someone with access to 
apachepulsar org to do that.
 
 ### Update project version

Reply via email to