Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish MAJOR and MAJOR.MINOR tags for Docker images #296

Open
merusso opened this issue Sep 7, 2023 · 0 comments
Open

Publish MAJOR and MAJOR.MINOR tags for Docker images #296

merusso opened this issue Sep 7, 2023 · 0 comments

Comments

@merusso
Copy link

merusso commented Sep 7, 2023

Currently when publishing Docker images, tags are pushed with the following format:

  • version tag "MAJOR.MINOR.PATCH" e.g. "6.4.1"
  • mutable tag latest

It would be nice if the following mutable tags were also pushed:

  • MAJOR e.g. "6" - points to the latest release for a given MAJOR version (6 -> 6.4.1)
  • MAJOR.MINOR e.g. "6.4" - points to the the latest release for a given MAJOR.MINOR version (6.4 -> 6.4.1)

This way, users could easily pull in the latest changes for a given MAJOR or MAJOR.MINOR version.

merusso added a commit to merusso/podinfo that referenced this issue Sep 7, 2023
resolves stefanprodan#296

This change adds semver-style Docker tags {{major}} and {{major.minor}}
for each release.

For example, when publishing release v3.2.1, this will push tags: 3, 3.2, 3.2.1, latest
merusso added a commit to merusso/podinfo that referenced this issue Sep 7, 2023
resolves stefanprodan#296

This change adds semver-style Docker tags {{major}} and {{major.minor}}
for each release.

For example, when publishing release v3.2.1, this will push tags: 3.2.1, 3.2, 3, latest
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 a pull request may close this issue.

1 participant