Skip to content

CD Improvement#16

Open
HadesArchitect wants to merge 1 commit intomasterfrom
docker-latest-major-minor
Open

CD Improvement#16
HadesArchitect wants to merge 1 commit intomasterfrom
docker-latest-major-minor

Conversation

@HadesArchitect
Copy link
Contributor

@HadesArchitect HadesArchitect commented Mar 30, 2020

To push the latest tag as a docker image tagged like:

  • Exact tag, f.e. :3.0.3
  • Latest tag, :latest
  • Latest minor release, f.e. :3.0
  • Latest major release, f.e. :3

Following this, we can set docker-compose files of multiple projects to use weaker version reqs like :3 or 3.1 instead of too restrictive 3.1.5, so we don't have to update 6 repos after the release of a minor update, like I do now.

Example usage: https://github.com/KillrVideo/killrvideo-all-in-one/blob/master/docker-compose.yml#L57

image

To push the latest tag as a docker image tagged like:
- Exact tag, f.e. `:3.0.3`
- Latest tag, `:latest`
- Latest minor release, f.e. `:3.0` 
- Latest major release, f.e. `:3`
@HadesArchitect HadesArchitect self-assigned this Mar 30, 2020
@HadesArchitect HadesArchitect marked this pull request as ready for review March 30, 2020 10:15
@HadesArchitect
Copy link
Contributor Author

It works! =)

image

Copy link
Member

@clun clun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIce !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants