drone: allow promoted builds
continuous-integration/drone Build is passing Details
continuous-integration/drone/promote/production Build is passing Details

master
Garrett Mills 1 year ago
parent fa2345759f
commit 0e25a39f08

@ -13,6 +13,10 @@ services:
privileged: true
environment:
DOCKER_TLS_CERTDIR: ""
when:
event:
- tag
- promote
steps:
- name: container build
@ -27,7 +31,9 @@ steps:
from_secret: DOCKER_REGISTRY
DOCKER_HOST: tcp://localhost:2375
when:
event: tag
event:
- tag
- promote
- name: environment substitution
image: rockylinux:9.0-minimal
@ -44,7 +50,9 @@ steps:
NODED_DATABASE_NAME:
from_secret: NODED_DATABASE_NAME
when:
event: tag
event:
- tag
- promote
- name: k8s rollout
image: bitnami/kubectl
@ -55,4 +63,6 @@ steps:
- container build
- environment substitution
when:
event: tag
event:
- tag
- promote

Loading…
Cancel
Save