Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Update release docker image in release process #745

Merged
merged 6 commits into from
Feb 20, 2024
Merged
Changes from 5 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
20 changes: 11 additions & 9 deletions contribute/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,20 +320,22 @@ 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 this release is a LTS release or a patch release of the last LTS release, you should also push these images to the `lts` tag.

If you don't have the permission, you can ask someone with access to apachepulsar org to do that.

### Update project version
Expand Down