Add drone deploy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-06-23 12:43:53 +02:00
parent d133590267
commit 8ada4e8bba
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
---
kind: pipeline
name: deploy to swarm.autonomic.zone
steps:
- name: deployment
image: decentral1se/drone-stack:19.03.8
settings:
compose: compose.yml
host: tcp://swarm.autonomic.zone:2376
stack_name: drone-docker-runner
tlsverify: true
environment:
PLUGIN_CACERT:
from_secret: docker_cacert
PLUGIN_CERT:
from_secret: docker_cert
PLUGIN_KEY:
from_secret: docker_key
trigger:
branch:
- master