Skip to content

Use short commit SHA as Docker image tag

Konrad Botor requested to merge kbotor/use-short-sha-as-docker-tag into develop

Reconfigure the project to use the short commit SHA as a Docker image tag.

Note that short commit SHA does not have a fixed length. It has a minimum length of 4 characters (this can be configured with core.abbrev), but the actual length of the hash returned by Git is calculated by Git itself based on the hashes already present to ensure uniqueness.

References:

Merge request reports