Another syntax!

This commit is contained in:
Luke Murphy 2020-04-30 14:48:03 +02:00
parent 991e8fa273
commit 085dcb5117
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 14 deletions

View File

@ -16,26 +16,17 @@ name: swarm.autonomic.zone
steps:
- name: swarm.autonomic.zone
image: decentral1se/drone-stack:19.03.8-override-compose
secrets:
- docker_cacert:
from_secret: docker_cacert
- docker_cert:
from_secret: docker_cert
- docker_key:
from_secret: docker_key
settings:
secrets:
- docker_cacert
- docker_cert
- docker_key
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
trigger:
branch:
- master