walkaway-wiki/.drone.yml

32 lines
711 B
YAML
Raw Normal View History

2020-04-28 11:49:25 +00:00
---
kind: pipeline
2020-06-25 13:38:57 +00:00
name: deploy to swarm.autonomic.zone
2020-04-28 11:49:25 +00:00
steps:
2020-06-25 13:38:57 +00:00
- name: bundle static
image: plugins/docker
2020-04-28 11:49:25 +00:00
settings:
2020-06-25 13:38:57 +00:00
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
2020-04-28 11:49:25 +00:00
trigger:
branch:
- master