1
0
mirror of https://github.com/rancher/rke.git synced 2025-05-10 09:24:32 +00:00

add publishing steps

This commit is contained in:
Bill Maxwell 2018-01-05 10:18:29 -07:00
parent 1dd5b92313
commit 0f79d85f56

View File

@ -7,3 +7,30 @@ pipeline:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- dapper ci
stage-binaries:
image: rancher/dapper:1.11.2
commands:
- cp -r ./bin/* ./package/
when:
branch: master
event: tag
github_binary_release:
image: plugins/github-release
files: bin/*
secrets: [github_token]
when:
branch: master
event: tag
publish-rke-certs-deployer:
image: plugins/docker
dockerfile: package/certs-deployer/Dockerfile
repo: rancher/rke-certs-deployer
context: package/certs-deployer/
tag: ${DRONE_TAG}
secrets: [docker_username, docker_password]
when:
branch: master
event: tag