added publish step, and drone sig for secrets, plus dockerfile

This commit is contained in:
josebarn
2017-08-15 16:13:50 -03:00
parent 5f4a28f5f6
commit 7513414eb7
3 changed files with 31 additions and 2 deletions

View File

@@ -9,8 +9,13 @@ pipeline:
commands:
- go test
publish:
image: plugins/docker
repo: josebarn/hello-world
tags: [ 1.0.0, 1.0, latest ]
dockerfile: ./docker/Dockerfile
secrets: [ docker_username, docker_password ]
matrix:
IMAGE:
- golang:1.7
- golang:1.8
- golang:latest