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.
stack-ssh-deploy/README.md

831 B

stack-ssh-deploy

Build Status

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.