All projects distributed as Docker images follow standard versioning and tagging rules.
All builds result in at least one image tagged with the short hash of the commit that triggered it. Example:
All builds result in a [env-]latest tag, with [env-] depending on the existence of multiple main branches in the project. This tag should point to the same image digest as the most recent hashtag. Example:
apisuite-be has 3 main branches (develop, staging, and production) which result in the respective tags: dev-latest, stg-latest, and latest.
Production/main branches also generate a semantic versioning tag that should match the versioning in the repository itself. This is the advised way of locking to a version in production environments. Example: