0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-24 23:10:39 +00:00
wp-gitea-release/.drone.yml

40 lines
727 B
YAML
Raw Normal View History

build:
image: golang:1.5
environment:
- CGO_ENABLED=0
commands:
2015-12-23 14:17:14 +00:00
- make deps
- make vet
2015-12-23 14:17:14 +00:00
- make build
- make test
publish:
coverage:
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-github-release
tag: latest
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-github-release
tag: develop
when:
branch: develop
plugin:
name: GitHub Release
desc: Publish files and artifacts to GitHub Releases
type: publish
image: plugins/drone-github-release
labels:
- github
- release