codelipenghui commented on code in PR #745: URL: https://github.com/apache/pulsar-site/pull/745#discussion_r1423366897
########## contribute/release-process.md: ########## @@ -320,20 +320,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 rlease or a patch release of the last feature release, you should also push these images to the latest tag. Review Comment: ```suggestion 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. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
