drone: allow promoted builds
All checks were successful
continuous-integration/drone Build is passing
continuous-integration/drone/promote/production Build is passing

This commit is contained in:
Garrett Mills 2022-11-29 15:13:46 -06:00
parent fa2345759f
commit 0e25a39f08

View File

@ -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