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