On Golang:Alpine:
docker run -it golang:alpine sh
apk update && apk add curl openssh
My Server is running on 0.8.6
curl -L https://github.com/drone/drone-cli/releases/download/v0.8.6/drone_linux_amd64.tar.gz | tar zx
cp drone /usr/local/bin
export DRONE_SERVER=https://drone.xx.xx
export DRONE_TOKEN=xx
Manage Secrets:
ssh-keygen -t rsa -f drone-deploy
drone secret add --repository ruanbekker/docker-jekyll-drone --image drillster/drone-rsync --name rsync_key --value @/go/drone-deploy
drone secret ls --repository ruanbekker/docker-jekyll-drone
drone secret rm -name rsync_key --repository ruanbekker/docker-jekyll-drone
Resources: