drone-docker-buildx/.drone.yml

39 lines
863 B
YAML
Raw Normal View History

workspace:
base: /go
2016-10-27 21:42:45 +00:00
path: src/github.com/drone-plugins/drone-docker
2016-05-11 08:43:44 +00:00
pipeline:
2017-08-27 19:27:28 +00:00
build:
image: golang:1.9
commands: sh .drone.sh
2016-12-29 16:20:57 +00:00
publish:
2016-11-01 16:53:25 +00:00
image: plugins/docker
2016-05-03 23:17:16 +00:00
repo: plugins/docker
tags: [ "latest", "17", "17.05" ]
2017-05-15 09:33:44 +00:00
secrets: [ docker_username, docker_password ]
2017-08-27 19:27:28 +00:00
dockerfile: docker/Dockerfile
when:
branch: master
event: push
publish_heroku:
image: plugins/docker
repo: plugins/heroku
tags: [ "latest", "17", "17.05" ]
secrets: [ docker_username, docker_password ]
dockerfile: docker/heroku/Dockerfile
when:
branch: master
event: push
publish_gcr:
image: plugins/docker
repo: plugins/gcr
tags: [ "latest", "17", "17.05" ]
secrets: [ docker_username, docker_password ]
dockerfile: docker/gcr/Dockerfile
2015-10-28 01:29:46 +00:00
when:
branch: master
event: push