1
0
Fork 0
mirror of https://github.com/drone/drone-cli.git synced 2024-05-22 06:56:02 +02:00

publish docker image

This commit is contained in:
Brad Rydzewski 2017-09-12 15:28:13 -07:00
parent f8ac218c04
commit 267942ab99
2 changed files with 13 additions and 1 deletions

View File

@ -14,7 +14,14 @@ pipeline:
image: golang:1.8
commands: sh .drone.sh
publish:
docker:
image: plugins/docker
repo: drone/cli
when:
branch: master
event: push
release_github:
image: plugins/github-release
files:
- release/drone_*.tar.gz

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM drone/ca-certs
ADD release/linux/amd64/drone /bin/
ENTRYPOINT ["/bin/drone"]