SemVer with build metadata #1292
-
|
Hi All, Im thinking about amending our release workflow, when i do this I will be adding
I see that by default it would work with What its not clear is if it will also accept images that have the build metadata by default Does anyone know if that will be accepted or if there is a specific annotation that is required? Note this is a new process we are working on and is not fully planned yet so if there is some miss-understanding or a better way to do the tagging im open to recommendations. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
argocd-image-updater uses github.com/Masterminds/semver/v3, which fully complies with SemVer 2.0.0 specification. So all these variants of versions are accepted and the build metadata like +20251020 is ignored during precedence comparison. Also see argocd-image-updater/registry-scanner/pkg/tag/semver.go Lines 5 to 9 in 2c92bc8 |
Beta Was this translation helpful? Give feedback.
according to the above
semverCollectiontype,1.0.0+20251020will be picked as the most recent version.