diff --git a/.drone/.drone.jsonnet b/.drone/.drone.jsonnet index 985ee80..7d17097 100644 --- a/.drone/.drone.jsonnet +++ b/.drone/.drone.jsonnet @@ -15,6 +15,9 @@ { name: 'step', image: 'alpine', + when: { + event: ['tag'], + }, commands: [ 'echo hello', 'echo $${DRONE_COMMIT}', diff --git a/.drone/.drone.yml b/.drone/.drone.yml index 1e8b152..7955197 100644 --- a/.drone/.drone.yml +++ b/.drone/.drone.yml @@ -14,6 +14,9 @@ steps: - echo hello - echo $${DRONE_COMMIT} - echo $${DRONE_TAG} + when: + event: + - tag trigger: branch: