walkaway-wiki/.drone.yml
2020-06-25 15:38:57 +02:00

32 lines
711 B
YAML

---
kind: pipeline
name: deploy to swarm.autonomic.zone
steps:
- name: bundle static
image: plugins/docker
settings:
username:
from_secret: docker_reg_username
password:
from_secret: docker_reg_passwd
repo: decentral1se/kawaiipunk.xyz
tags: v0.1.0
- name: deployment
image: decentral1se/drone-stack:19.03.8
settings:
compose: compose.yml
host: tcp://swarm.autonomic.zone:2376
stack_name: kawaiipunk-xyz
tlsverify: true
environment:
PLUGIN_CACERT:
from_secret: docker_cacert
PLUGIN_CERT:
from_secret: docker_cert
PLUGIN_KEY:
from_secret: docker_key
trigger:
branch:
- master