Drone: only deploy on tags
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2022-11-29 15:12:16 -06:00
parent c608604736
commit fa2345759f

View File

@ -26,8 +26,8 @@ steps:
DOCKER_REGISTRY:
from_secret: DOCKER_REGISTRY
DOCKER_HOST: tcp://localhost:2375
# when:
# event: tag
when:
event: tag
- name: environment substitution
image: rockylinux:9.0-minimal
@ -43,8 +43,8 @@ steps:
from_secret: NODED_REDIS_HOST
NODED_DATABASE_NAME:
from_secret: NODED_DATABASE_NAME
# when:
# event: tag
when:
event: tag
- name: k8s rollout
image: bitnami/kubectl
@ -54,5 +54,5 @@ steps:
depends_on:
- container build
- environment substitution
# when:
# event: tag
when:
event: tag