2015-11-23 00:07:57 +00:00
|
|
|
build:
|
|
|
|
image: golang:1.5
|
|
|
|
commands:
|
2015-12-23 14:17:14 +00:00
|
|
|
- make deps
|
|
|
|
- make build
|
|
|
|
- make test
|
2015-11-23 00:07:57 +00:00
|
|
|
|
|
|
|
publish:
|
|
|
|
docker:
|
|
|
|
username: drone
|
|
|
|
password: $$DOCKER_PASS
|
|
|
|
email: $$DOCKER_EMAIL
|
|
|
|
repo: plugins/drone-github-release
|
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
|
|
|
|
plugin:
|
|
|
|
name: GitHub Release
|
2015-12-23 14:17:14 +00:00
|
|
|
desc: Publishs files and artifacts to GitHub Releases
|
2015-11-23 00:07:57 +00:00
|
|
|
type: publish
|
|
|
|
image: plugins/drone-github-release
|
|
|
|
labels:
|
|
|
|
- github
|
|
|
|
- release
|