This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2020-09-23 06:32:50 +00:00
|
|
|
# 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).
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: deploy to swarm
|
|
|
|
steps:
|
|
|
|
- name: stack deploy
|
|
|
|
image: decentral1se/stack-ssh-deploy:0.0.1
|
|
|
|
settings:
|
2020-09-23 06:38:20 +00:00
|
|
|
host: "ssh://drone@swarm.autonomic.zone:222"
|
2020-09-23 06:32:50 +00:00
|
|
|
deploy_key:
|
|
|
|
from_secret: drone_deploy_key
|
|
|
|
```
|