I have a github repository properly linked with docker hub so that it automatically builds the image for every new tag pushed to github.
The thing is that I’m trying to make the docker image tag to not include the leading v I usually include in git tags. For example, if the git tag is v1.2.6, I want the docker image tag to just be 1.2.6.
I have tried using the regexp /v(.*)$/*
, but then I don’t know how to use captures.
Is this even possible without my own publish implementation or changing my tagging strategy so that I don’t use the leading v?
Thanks.