DockerHub: consume a specific version ("3.0.x" or "3.1.x")
Created by: jmini
I am not a DockerHub user myself, now that we have introduced branches to work on different version of the project:
(current state 21.06.2018)
-
master
for version3.0.3-SNAPSHOT
-
3.1.x
for version3.1.0-SNAPSHOT
-
4.0.x
for version4.0.0-SNAPSHOT
See also: https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches
I am wondering how this works in DockerHub: https://hub.docker.com/r/openapitools/openapi-generator-cli/tags/
"latest" tag seems to be the last built, regardless of the branch.
What would make sense?
- "latest" for latest from the
master
branch - "latest_" in the other cases (for our protected branches like
3.1.x
and4.0.x
- not for the working branches)