docker
docker copied to clipboard
Docker image versioning strategy
Is your proposal related to a problem?
Docker image latest also includes main builds. And no tag including all major (or minor) version images exist.
Describe the solution you'd like
Only publish release images to the latest tag (only main).
And also push all same major and minor versions to a separate tag (e.g. v4 v4.0 v4.0.9 latest).
Here a Github action for doing the job: https://github.com/docker/metadata-action