1
0
mirror of https://github.com/rancher/rke.git synced 2025-10-18 17:38:43 +00:00
Files
rke/.drone.yml
2018-01-27 11:49:26 +01:00

43 lines
774 B
YAML

---
pipeline:
build:
privileged: true
image: rancher/dapper:1.11.2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- dapper ci
build-all-binaries:
privileged: true
image: rancher/dapper:1.11.2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- CROSS=1
commands:
- dapper build
when:
branch: master
event: tag
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/*
- build/bin/rke_*
checksum:
- sha256
secrets: [github_token]
when:
branch: master
event: tag