drone: allow promoted builds
This commit is contained in:
parent
fa2345759f
commit
0e25a39f08
16
.drone.yml
16
.drone.yml
@ -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…
Reference in New Issue
Block a user