kork icon indicating copy to clipboard operation
kork copied to clipboard

feat: Ability to easily compare versions using #toArtifactVersion

Open KristianOellegaard opened this issue 9 months ago • 1 comments

If you want to verify that your automatic pipeline does not deploy an old version because it is accidentally pushed to the docker repo

eg

#toArtifactVersion(execution.trigger.tag.replace("v", "")) >= #toArtifactVersion(#stage("Find Artifacts From Resource (Manifest)").manifest.spec.template.spec.containers[0].image.split(":")[1].replace("v", ""))

KristianOellegaard avatar May 15 '24 16:05 KristianOellegaard