Deploying on tag - every tag listed in dashboard


#1

Hi,

In my project, I am deploying on a tag as follows:

deployment:
staging:
tag: /v.*/
owner: owner
commands:
- docker build …

It works well, but in my dashboard I am seeing an entry for every tag pushed:

This list is going to get pretty long, pretty quick and I don’t want the tags in there - just the branches. I have another project and this doesn’t happen. The only difference is that the one with the tags in the list is from bitbucket and the other one is github. Is there a way I can avoid this?

Thanks!


#2

If you are migrating to 2.0 ,

Use a work around I used :

CIRCLE_TAG="$(git tag -l --points-at HEAD)" && if [[ $CIRCLE_TAG =~ #regex# ]];
then #commands#
fi


Can you git tag builds using CircleCI?
Builds using git tags failing (x-post)
Circle.yml deployment section does not accept "tag"
Where are my git tags?
Bitbucket: deploy on tags not working
Builds using git tags failing
#3