Stack PLUGIN* vars on top and use _TLS too

This commit is contained in:
Luke Murphy 2020-04-30 14:40:41 +02:00
parent e1925aa5da
commit 29ccd8fc86
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 6 additions and 5 deletions

View File

@ -17,17 +17,18 @@ steps:
- name: swarm.autonomic.zone
image: decentral1se/drone-stack:19.03.8-override-compose
environment:
PLUGIN_HOST: "tcp://swarm.autonomic.zone:2376"
PLUGIN_COMPOSE: docker-compose.yml
PLUGIN_OVERRIDE_COMPOSE: docker-compose.production.yml
PLUGIN_STACK_NAME: traefik
PLUGIN_TLS: true
PLUGIN_TLSVERIFY: true
PLUGIN_CACERT:
from_secret: docker_cacert
PLUGIN_CERT:
from_secret: docker_cert
PLUGIN_KEY:
from_secret: docker_key
PLUGIN_COMPOSE: docker-compose.yml
PLUGIN_HOST: "tcp://swarm.autonomic.zone:2376"
PLUGIN_OVERRIDE_COMPOSE: docker-compose.production.yml
PLUGIN_STACK_NAME: traefik
PLUGIN_TLSVERIFY: true
trigger:
branch:
- master