Sign inSign up

maloneweb/artifact-deployer-ssh

By maloneweb

Updated over 7 years ago

Image
0

122

maloneweb/artifact-deployer-ssh repository overview

artifact-deployer-ssh

This is a pure Golang Drone >= 0.5 plugin to deploy binaries to a remote host. For more information check back later.

Docker

Build the Docker image by running:

docker build --rm=true -t maloneweb/artifact-deployer-ssh .

Usage

Execute from the working directory (assuming you have an SSH server running on 127.0.0.1:22):

docker run --rm \
  -e PLUGIN_SSH_HOST="127.0.0.1" \
  -e PLUGIN_SSH_USER="web" \
  -e PLUGIN_SSH_PRIVATEKEY="$(cat some-private-key)" \
  -e PLUGIN_BINARY=$(pwd)/my-bin \
  -e PLUGIN_TAG=$DRONE_TAG \
  -e PLUGIN_PROJECT_PATH="/home/web/apps/bin-project" \
  -v $(pwd):$(pwd) \
  -w $(pwd) \
  maloneweb/artifact-deployer-ssh

Tag summary

Content type

Image

Digest

Size

4.9 MB

Last updated

over 7 years ago

docker pull maloneweb/artifact-deployer-ssh