[Solved] Tag is not triggering drone

We’re using drone.io with gitlab. This is my .drone.yml

pipeline:
  install:
    image: node:8-slim
    commands:
      - node -v
      - npm -v
      - yarn --version
      - yarn install

  publish:
    image: plugins/docker
    repo: ${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}
    dockerfile: Dockerfile
    secrets: [ docker_username, docker_password ]
    tag: ${DRONE_TAG}
    when:
      event: tag

I think drone is supposed to publish new image to docker hub when I create new tags?

I create tag with

git tag -a v.0.0.1 -m “version 0.0.1”

then push with

git push origin v.0.0.1

But drone is not triggered. What should I do?

Nevermind, I had to enable it in,
Settings -> Repository Hooks -> Tag (checked).