0
0
mirror of https://github.com/thegeeklab/wp-gitea-release.git synced 2024-11-21 13:50:40 +00:00

Update .drone.yml [ci skip]

This commit is contained in:
Brad Rydzewski 2017-08-26 18:41:52 -07:00 committed by GitHub
parent 1d7c72a644
commit 609d735671

View File

@ -1,5 +1,6 @@
workspace:
base: /go
path: src/github.com/drone-plugins/drone-github-release
pipeline:
test:
@ -11,19 +12,11 @@ pipeline:
- go test -cover -coverprofile=coverage.out
- go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER" -a -tags netgo
latest:
image: docker
publish:
image: plugins/docker
repo: plugins/github-release
tags: [ "latest", "1.0", "1" ]
secrets: [docker_username, docker_password]
when:
branch: master
event: push
plugin:
name: GitHub Release
desc: Publish files and artifacts to GitHub Releases
type: publish
image: plugins/github-release
labels:
- github
- release