36 lines
837 B
YAML
36 lines
837 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-override-compose
|
|
settings:
|
|
compose: docker-compose.yml
|
|
host: tcp://swarm.autonomic.zone:2376
|
|
override_compose: docker-compose.production.yml
|
|
stack_name: docs.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
|