Drone: only rollout on tag/promotion
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
16
.drone.yml
16
.drone.yml
@@ -47,10 +47,10 @@ steps:
|
||||
from_secret: COREID_REDIS_HOST
|
||||
COREID_SMTP_HOST:
|
||||
from_secret: COREID_SMTP_HOST
|
||||
# when:
|
||||
# event:
|
||||
# - tag
|
||||
# - promote
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
- promote
|
||||
|
||||
- name: k8s rollout
|
||||
image: bitnami/kubectl
|
||||
@@ -62,7 +62,7 @@ steps:
|
||||
depends_on:
|
||||
- container build
|
||||
- environment substitution
|
||||
# when:
|
||||
# event:
|
||||
# - tag
|
||||
# - promote
|
||||
when:
|
||||
event:
|
||||
- tag
|
||||
- promote
|
||||
|
||||
Reference in New Issue
Block a user