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

Sort image tags by version instead of purely alphabetically #14

Merged
merged 1 commit into from
Mar 6, 2021

Conversation

tdluk
Copy link
Contributor

@tdluk tdluk commented Mar 5, 2021

This helps when your image tags are versioned:

myrepo:foo-1
myrepo:foo-11
myrepo:foo-5

becomes

myrepo:foo-1
myrepo:foo-5
myrepo:foo-11

@BradleyA
Copy link
Owner

BradleyA commented Mar 6, 2021

Sure that is a great idea, thank you for your help!

You got me thinking about also including -r so the latest version would be first, -Vr. Let me know what you think.

@BradleyA BradleyA merged commit 82a2f07 into BradleyA:master Mar 6, 2021
@tdluk
Copy link
Contributor Author

tdluk commented Mar 10, 2021

Yep, sounds good to me 😀

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.

None yet

2 participants