Update Dockerfile to use the selected tag.
nano Dockerfile
TAG=[new version number]
git commit --message="Bump version to $TAG in preparation of a release"
git push
git tag --annotate $TAG --message="Release $TAG"
git push --tags
https://github.com/biolink/kgx/releases/new
Build and push the Docker image for the new version of KGX.
First have a fresh clone of the KGX GitHub repository, and then build the Docker image:
git clone https://github.com/biolink/kgx
cd kgx
docker build --no-cache -f Dockerfile --tag biolink/kgx:latest .
docker build --no-cache -f Dockerfile --tag biolink/kgx:$TAG .
Once the image is built, be sure to push to Dockerhub:
docker push biolink/kgx:latest
docker push biolink/kgx:$TAG
Note: It is important to have a fresh clone of the repository to avoid unnecessary files being included in the new Docker image.
Will release based on the GitHub action in .github/workflows/pypi-release.yml