Here is the high level process. See other sections of this page for details on how each step works.
- Push git tag to GitHub repo.
- Once Docker Hub has the new image, pull that image to your local machine and run
make tarball TAG=1.1.4
(use the correct tag). The resulting tarball will be namedpulsar-admin-console-$(TAG).tar.gz
. - Create the GitHub release page. Upload the tarball and make sure the release notes include the tarball's checksum and a reference to the docker image for the release. (The checksum is printed out as part of running
make tarball
.)
Docker release image is built by the automated Docker Hub build process. The build is triggered by Github remote tagging.
Here is an example how to tag and push to origin
that will automatically trigger a Docker Hub build.
- The tag has to conform the regex
^[0-9.]+
. It's recommended to follow major.minor.patch pattern in decimal format. When testing larger changes, it can be helpful to create a tag likex.y.z-rc-i
wherei
starts at 1 and gets incremented if intermediate changes are required. Then, once the release candidate passes any internal validation testing, we can create a tag forx.y.z
. This way, pre-releases do not force us to increment the patch version number needlessly. - Release should be tagged on the
master
branch - Release tag must be incremented.
Tag and push to the remote origin
will trigger a Docker Hub build.
Create a signed tag against HEAD
$ git -s tag 1.0.0
Or tag a specific commit.
$ git -s tag 1.0.0 <commit sha>
Push to the remote. In this case, origin
is the remote.
$ git push origin 1.0.0