# Tags not building for me

**URL:** <https://drone.discourse.group/t/tags-not-building-for-me/3701>\
**Category:** Drone Support\
**Created:** [December 12, 2017, 9:39pm UTC](https://drone.discourse.group/t/tags-not-building-for-me/3701 "2017-12-12T21:39:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![montyz](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@montyz](https://drone.discourse.group/u/montyz)\
**Post date:** [December 12, 2017, 9:39pm UTC](https://drone.discourse.group/t/tags-not-building-for-me/3701/1 "2017-12-12T21:39:07Z")

</div>

I’m using drone 0.8.1 with gogs. When I commit to master a build is triggered. When I tag the repo in gogs, no build is triggered and no docker image built like I would expect. Here is my .drone.yml file:

pipeline:  
docker:  
image: plugins/docker  
repo: larktech/mirror-repos  
default\_tags: true  
when:  
event: [push, tag]

I enabled drone hooks for tag and deployment. I also checked on the gogs side and checked ‘Release’ which added to the list of enabled events: Create, Pull Request, Push. I can see that the webhook was triggered on the gogs side when I created a release, however no build ensued. Committing to master triggered the latest build as expected. What am I missing?

This is on SO here: [https://stackoverflow.com/questions/47758527/tagging-in-gogs-not-triggering-build-with-drone-io](https://stackoverflow.com/questions/47758527/tagging-in-gogs-not-triggering-build-with-drone-io)

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [December 12, 2017, 10:35pm UTC](https://drone.discourse.group/t/tags-not-building-for-me/3701/2 "2017-12-12T22:35:50Z")

</div>

In many cases you can use the following information to debug why hooks are not working:

- Check your gogs webhook history. was one sent?
- Check the drone server logs. Drone logs every rejected webhook with a rejection reason.

In your particular case, however, you would see that no webhook was sent from gogs. This is because Drone does not add or support release events. Instead, drone supports tags created and pushed to the repository, which posts a `create` webhook to the Drone server.

---

<div class="post-metadata">

**Author:** ![montyz](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@montyz](https://drone.discourse.group/u/montyz)\
**Post date:** [December 13, 2017, 9:28pm UTC](https://drone.discourse.group/t/tags-not-building-for-me/3701/3 "2017-12-13T21:28:17Z")

</div>

Thanks, by tagging on the command line and pushing the tag I was able to trigger the build.

Is there any intention to support the release event in the future? It would be nice to have for our workflow.

---

<div class="post-metadata">

**Author:** ![evgenyrodionov](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@evgenyrodionov](https://drone.discourse.group/u/evgenyrodionov)\
**Post date:** [April 12, 2019, 8:18pm UTC](https://drone.discourse.group/t/tags-not-building-for-me/3701/4 "2019-04-12T20:18:49Z")

</div>

Will Drone support release steps? I want to simplify workflow basing on GitHub Releases, but Drone doesn’t support it (even when it create tag)

---

<div class="post-metadata">

**Author:** ![bradrydzewski](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/bradrydzewski/32/3513_2.png) [@bradrydzewski](https://drone.discourse.group/u/bradrydzewski)\
**Post date:** [April 12, 2019, 8:59pm UTC](https://drone.discourse.group/t/tags-not-building-for-me/3701/5 "2019-04-12T20:59:29Z")

</div>

Drone supports tag events – we use them to release Drone itself and you can see an example here [https://cloud.drone.io/drone/drone/80](https://cloud.drone.io/drone/drone/80).

---

<div class="post-metadata">

**Author:** ![evgenyrodionov](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@evgenyrodionov](https://drone.discourse.group/u/evgenyrodionov)\
**Post date:** [April 12, 2019, 10:50pm UTC](https://drone.discourse.group/t/tags-not-building-for-me/3701/6 "2019-04-12T22:50:15Z")

</div>

Oh, good.

@bradrydzewski do you use Github Releases or manually push tag? Second is less convenient

---

<div class="post-metadata">

**Author:** ![evgenyrodionov](https://avatars.discourse-cdn.com/v4/letter/e/e36b37/32.png) [@evgenyrodionov](https://drone.discourse.group/u/evgenyrodionov)\
**Post date:** [April 15, 2019, 10:38am UTC](https://drone.discourse.group/t/tags-not-building-for-me/3701/7 "2019-04-15T10:38:53Z")

</div>

@bradrydzewski can you help?
