/demo-poetry-dynamic-semver-with-docker-hub-push

A demonstrational repository showing how Python Poetry dynamic versioning can be used to distribute Docker container images on Docker Hub for Python packages.

Primary LanguageDockerfileBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Demonstrational Python Poetry Dynamic Semver with Docker Hub Push

A demonstrational repository showing how Python Poetry dynamic versioning can be used to distribute Docker container images on Docker Hub for Python packages.

As part of this work, we do the following:

  • Include a demonstrational Python package called "wintry" managed by poetry-dynamic-versioning
  • Test a Docker image build and the Python package tests through the built image via GitHub Actions triggered on pull request
  • Update the version through GitHub Releases
  • Build and push a Docker image to Docker Hub triggered by GitHub Release via GitHub Actions with use of GitHub repository secrets associated with Docker Hub.

References

Docker Hub repository: https://hub.docker.com/r/d33bs/wintry

Source code: https://github.com/CU-DBMI/demo-poetry-dynamic-semver-with-docker-hub-push