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
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue