An ImagePolicy configuration for Calver format and an optional tag suffix #4881
Unanswered
0xStarcat
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
👋🏼 felt like sharing an ImagePolicy configuration I figured out that works with Calver format + an optional tag suffix (ie:
-hotfix1)It uses the semver policy to extract and transform the components into semver format for internal comparison. It works only when your Calver format uses 0-padded dates like
YYYY-0M-0D.PATCH(patch is optional too)tested with the following tags being detected earliest to latest:
v2024.06.08.0v2024.06.08.0-hotfix1v2024.06.08.0-hotfix10v2024.06.08.1v2024.06.09.0v2024.06.09.10v2024.06.09.10-hotfix1v2024.06.10.0Beta Was this translation helpful? Give feedback.
All reactions