drone-ssh/.drone.yml
2015-10-21 12:34:42 -07:00

30 lines
483 B
YAML

build:
image: golang:1.5
environment:
- GO15VENDOREXPERIMENT=1
- GOOS=linux
- GOARCH=amd64
- CGO_ENABLED=0
commands:
- go get
- go build
- go test
publish:
docker:
username: drone
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-ssh
when:
branch: master
plugin:
name: SSH
desc: Use SSH to execute commands on a remote host
type: deploy
image: plugins/drone-ssh
labels:
- deploy
- ssh