From 609d735671381db3f731bcb3f276b9666ab330ba Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sat, 26 Aug 2017 18:41:52 -0700 Subject: [PATCH] Update .drone.yml [ci skip] --- .drone.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index e85dbce..4ff918f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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