Use swarm deployment for drone
This commit is contained in:
parent
f88d54f535
commit
acb43e7537
23
.drone.yml
23
.drone.yml
@ -1,16 +1,21 @@
|
||||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
name: deploy to swarm.autonomic.zone
|
||||
steps:
|
||||
- name: Deploy Gitea with Dokku
|
||||
image: appleboy/drone-git-push:0.2.1-linux-amd64
|
||||
- name: deployment
|
||||
image: decentral1se/drone-stack:19.03.8
|
||||
settings:
|
||||
remote: ssh://dokku@dokku.autonomic.zone:222/gitea
|
||||
ssh_key:
|
||||
from_secret: drone_deploy_key
|
||||
compose: compose.yml
|
||||
host: tcp://swarm.autonomic.zone:2376
|
||||
stack_name: gitea
|
||||
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
|
||||
|
Reference in New Issue
Block a user