2016-07-22 19:36:15 +02:00
|
|
|
workspace:
|
|
|
|
base: /go
|
2016-10-27 23:42:45 +02:00
|
|
|
path: src/github.com/drone-plugins/drone-docker
|
2016-07-22 19:36:15 +02:00
|
|
|
|
2016-05-11 10:43:44 +02:00
|
|
|
pipeline:
|
2017-08-27 21:27:28 +02:00
|
|
|
build:
|
|
|
|
image: golang:1.9
|
2017-10-31 07:05:06 +01:00
|
|
|
commands:
|
|
|
|
- go get -u github.com/golang/dep/cmd/dep
|
|
|
|
- dep ensure
|
|
|
|
- sh .drone.sh
|
2016-07-22 19:36:15 +02:00
|
|
|
|
2016-12-29 17:20:57 +01:00
|
|
|
publish:
|
2016-11-01 17:53:25 +01:00
|
|
|
image: plugins/docker
|
2016-05-04 01:17:16 +02:00
|
|
|
repo: plugins/docker
|
2018-01-23 19:47:00 +01:00
|
|
|
tags: [ "latest", "17", "17.12" ]
|
2017-05-15 11:33:44 +02:00
|
|
|
secrets: [ docker_username, docker_password ]
|
2017-08-27 21:27:28 +02:00
|
|
|
dockerfile: docker/Dockerfile
|
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: push
|
|
|
|
|
|
|
|
publish_heroku:
|
|
|
|
image: plugins/docker
|
|
|
|
repo: plugins/heroku
|
2018-01-23 19:47:00 +01:00
|
|
|
tags: [ "latest", "17", "17.12" ]
|
2017-08-27 21:27:28 +02:00
|
|
|
secrets: [ docker_username, docker_password ]
|
|
|
|
dockerfile: docker/heroku/Dockerfile
|
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: push
|
|
|
|
|
|
|
|
publish_gcr:
|
|
|
|
image: plugins/docker
|
|
|
|
repo: plugins/gcr
|
2017-11-20 11:34:48 +01:00
|
|
|
tags: [ "latest", "17", "17.10" ]
|
2017-08-27 21:27:28 +02:00
|
|
|
secrets: [ docker_username, docker_password ]
|
|
|
|
dockerfile: docker/gcr/Dockerfile
|
2015-10-28 02:29:46 +01:00
|
|
|
when:
|
|
|
|
branch: master
|
2016-05-04 21:51:06 +02:00
|
|
|
event: push
|
2017-10-31 07:05:06 +01:00
|
|
|
|
|
|
|
publish_ecr:
|
|
|
|
image: plugins/docker
|
|
|
|
repo: plugins/ecr
|
2017-11-20 11:34:48 +01:00
|
|
|
tags: [ "latest", "17", "17.10" ]
|
2017-10-31 07:05:06 +01:00
|
|
|
secrets: [ docker_username, docker_password ]
|
|
|
|
dockerfile: docker/ecr/Dockerfile
|
|
|
|
when:
|
|
|
|
branch: master
|
|
|
|
event: push
|