From fcbdcf719770fe8dcc173ba94375afea0ba9cc69 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sun, 22 Jan 2017 18:29:31 +0800 Subject: [PATCH] fix: missing docker username and password --- .drone.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 5ed1bcc..812a46e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,14 +11,23 @@ pipeline: - go test -cover -coverprofile=coverage.out - go build -ldflags "-s -w -X main.build=$DRONE_BUILD_NUMBER" -a -tags netgo - latest: + publish: image: docker repo: plugins/ssh + username: ${DOCKER_USERNAME} + password: ${DOCKER_PASSWORD} tags: [ "latest", "1.0", "1" ] when: branch: master event: push + notify: + image: plugins/gitter + webhook: ${GITTER_WEBHOOK} + when: + status: [ success, failure ] + event: [ push, pull_request ] + plugin: name: SSH desc: Execute commands on a remote host through SSH