Closed debuglevel closed 2 years ago
https://github.com/debuglevel/greeting-microservice/blob/14dd3dee011c176b1cdc0ffe6de2dbd671423ed4/.gitlab-ci.yml#L14
This could be more or less safely be $CI_COMMIT_REF_NAME, which would a tag "0.0.3" not change to "0-0-3".
it would though break on some uncommon branch/tags like "features/whoop". maybe there is some regexp or sed which convert between git and docker allowed characters
https://github.com/debuglevel/greeting-microservice/blob/14dd3dee011c176b1cdc0ffe6de2dbd671423ed4/.gitlab-ci.yml#L14
This could be more or less safely be $CI_COMMIT_REF_NAME, which would a tag "0.0.3" not change to "0-0-3".