Only build when a new tag is created
I've found info on how to trigger a build when a tag is created.
- Create a VCS root to use only for tags.
- Add branch specification `+:refs/tags/*`.
- Turn on `Enable to use tags in the branch specification`.
- Add parameter `teamcity.vcsTrigger.runBuildInNewEmptyBranch=true`.
Is there way to limit the build to only run when a new tag is created? I'm creating a docker image and pushing it to a docker repository and only want to do it when a new version is tagged.
Please sign in to leave a comment.