Gitea release not detected as tag

Hello,

We now successfully use Drone with Gitea to build application in Kuberntes, everything seems to be OK excepting one.

We want to make some build when we create a release (tag) in Gitea. But when we create that release (and the associated tag), it seems that Drone do not see the tag event.

trigger:
  event:
  - tag
  ref:
  - refs/tags/stable-*

If we create the tag with git CLI (git tag -a ...) and we push the tag, it’s ok.

Is there something we’re doing wrong ?

Thanks a lot !

Drone supports tag webhooks, but does not support release webhooks.

Right, this is what I see. But a release creates a tag. That what I don’t understand. If I create the tag manually, it’s ok.

Right, this is what I see. But a release creates a tag. That what I don’t understand. If I create the tag manually, it’s ok.

a release does not issue a tag webhook from gitea, it issues a release webhook, and release webhooks are not supported by drone at this time.

Ok, it’s a pitty that Gitea doesn’t issue tag webhook (because, really, it creates a tag :slight_smile: )

I will try to find a workaround, or maybe you’re working on a future release that will save my days ? :wink:

Thanks a lot for your answer (and for Drone !)