fix: missing docker username and password

This commit is contained in:
Bo-Yi Wu 2017-01-22 18:29:31 +08:00
parent 4aac8d87ab
commit fcbdcf7197

View File

@ -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