stack-ssh-deploy/README.md
Luke Murphy 2aa5592d3b
All checks were successful
continuous-integration/drone/push Build is passing
Add settings spec
2020-09-23 08:44:37 +02:00

30 lines
831 B
Markdown

# stack-ssh-deploy
[![Build Status](https://drone.autonomic.zone/api/badges/autonomic-cooperative/stack-ssh-deploy/status.svg)](https://drone.autonomic.zone/autonomic-cooperative/stack-ssh-deploy)
Deploy swarm stacks against a SSH based remote docker daemon context.
## Publishing
If you push a commit to master, the [Drone config](./.drone.yml) will publish to [Docker Hub](https://hub.docker.com/r/decentral1se/stack-ssh-deploy).
## Settings
- **host**: SSH-based docker daemon context
- **deploy_key**: SSH private key part for ssh public key authentication
## Example
```yaml
---
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
```