1
0
Fork 0
mirror of https://github.com/drone/drone-cli.git synced 2024-06-03 04:26:05 +02:00
drone-cli/.drone.yml
2017-09-12 15:28:13 -07:00

34 lines
576 B
YAML

workspace:
base: /go
path: src/github.com/drone/drone-cli
pipeline:
test:
image: golang:1.8
commands:
- echo starting
- cd drone
- go test
build:
image: golang:1.8
commands: sh .drone.sh
docker:
image: plugins/docker
repo: drone/cli
when:
branch: master
event: push
release_github:
image: plugins/github-release
files:
- release/drone_*.tar.gz
- release/drone_checksums.txt
secrets:
- source: github_token
target: github_release_api_key
when:
event: tag