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:
parent
e5d55c9fe8
commit
eb70199c91
11
.drone.yml
11
.drone.yml
|
|
@ -8,13 +8,14 @@ steps:
|
|||
context: app
|
||||
dockerfile: app/Dockerfile
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
- latest
|
||||
- ${DRONE_TAG}
|
||||
repo: jjtc/bookstack-ppm
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
|
|
|
|||
Loading…
Reference in New Issue