This repository has been archived on 2023-02-03. You can view files and clone it, but cannot push or open issues or pull requests.
autonomic.zone/.drone.yml
Luke Murphy b6ad82d86f
All checks were successful
continuous-integration/drone/push Build is passing
Use valid name
2020-05-16 17:44:21 +02:00

35 lines
766 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/autonomic.zone
tags: v2.0.0
- name: deployment
image: decentral1se/drone-stack:19.03.8
settings:
compose: docker-compose.prod.yml
host: tcp://swarm.autonomic.zone:2376
stack_name: autonomic-zone
tlsverify: true
environment:
PLUGIN_CACERT:
from_secret: docker_cacert
PLUGIN_CERT:
from_secret: docker_cert
PLUGIN_KEY:
from_secret: docker_key
trigger:
branch:
- master
event:
exclude:
- pull_request