831 B
831 B
stack-ssh-deploy
Deploy swarm stacks against a SSH based remote docker daemon context.
Settings
- host: SSH-based docker daemon context
- deploy_key: SSH private key part for ssh public key authentication
Example
---
kind: pipeline
name: deploy to swarm
steps:
- name: stack deploy
image: decentral1se/stack-ssh-deploy:0.0.1
settings:
host: "ssh://drone@swarm.autonomic.zone:222"
deploy_key:
from_secret: drone_deploy_key
Publishing
If you push a commit to master, the Drone config will publish to Docker Hub.