This guide is intended for project contributors.
Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub
Please make sure you're familiar with and follow the CODE_OF_CONDUCT.md.
- Ensure you have locally built and tested the Docker container.
- Ensure there are no common Dockerfile pitfalls by linting with hadolint.
hadolint Dockerfile
- Ensure the merge message conforms to Conventional Commits spec.
- Breaking changes? Ensure the commit message contains the text
BREAKING CHANGE:
. - Use "Squash and Merge". This keeps a clean history in
main
, with a full history available in Pull Requests.
- A GitHub Actions is triggered when any code is pushed to
main
. The action willtest
the build and all tests pass, it will then use semantic-release to generate additionals files as well astagging
the branch with the newversion
. - Any code pushed or merged to the GitHub
main
branch will trigger a Docker build which is published to the@latest
DockerHub tag. - Any version
tag
pushed to GitHub will trigger a Docker build, and the container will be published to DockerHub using the same version number.