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
-
👋🏼 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.0
v2024.06.08.0-hotfix1
v2024.06.08.0-hotfix10
v2024.06.08.1
v2024.06.09.0
v2024.06.09.10
v2024.06.09.10-hotfix1
v2024.06.10.0
Beta Was this translation helpful? Give feedback.
All reactions