Drone CI move event condition to trigger

Attempt to only trigger run when tagged and eliminate "false runs" on push.
This commit is contained in:
TBK 2019-07-31 23:30:57 +02:00
parent e5d55c9fe8
commit eb70199c91
No known key found for this signature in database
GPG Key ID: 5FFB25718720C7D7
1 changed files with 6 additions and 5 deletions

View File

@ -8,13 +8,14 @@ steps:
context: app context: app
dockerfile: app/Dockerfile dockerfile: app/Dockerfile
tags: tags:
- latest - latest
- ${DRONE_TAG} - ${DRONE_TAG}
repo: jjtc/bookstack-ppm repo: jjtc/bookstack-ppm
username: username:
from_secret: docker_username from_secret: docker_username
password: password:
from_secret: docker_password from_secret: docker_password
when:
event: trigger:
- tag event:
- tag