mirror of
https://github.com/rancher/rke.git
synced 2025-08-10 03:08:50 +00:00
add publishing steps
This commit is contained in:
parent
1dd5b92313
commit
0f79d85f56
27
.drone.yml
27
.drone.yml
@ -7,3 +7,30 @@ pipeline:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- dapper ci
|
- 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
|
||||||
|
Loading…
Reference in New Issue
Block a user