1
0
mirror of https://github.com/rancher/rke.git synced 2025-10-21 11:09:12 +00:00
Files
rke/.drone.yml

78 lines
1.2 KiB
YAML
Raw Normal View History

2017-10-25 17:02:49 -07:00
---
kind: pipeline
name: default
2018-01-05 10:18:29 -07:00
platform:
os: linux
arch: amd64
2018-01-05 13:58:20 -07:00
steps:
- name: ci
pull: default
image: rancher/dapper:1.11.2
commands:
- dapper ci
- ls -lR dist/artifacts
environment:
CROSS: 1
privileged: true
volumes:
- name: socket
path: /var/run/docker.sock
2018-07-07 17:22:39 +02:00
- name: stage-binaries
pull: default
image: rancher/dapper:1.11.2
commands:
- "cp -r ./bin/* ./package/"
when:
event:
- tag
ref:
include:
2019-03-29 14:52:46 -07:00
- "refs/tags/*"
- name: github_binary_prerelease
pull: default
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
2018-01-05 13:58:20 -07:00
files:
- "build/bin/rke_*"
- "dist/artifacts/${DRONE_TAG}/*"
prerelease: true
when:
event:
- tag
ref:
2019-03-29 14:49:09 -07:00
include:
- "refs/tags/*rc*"
- "refs/tags/*alpha*"
- name: github_binary_release
pull: default
image: plugins/github-release
settings:
2018-01-27 11:49:26 +01:00
checksum:
- sha256
files:
- "build/bin/rke_*"
- "dist/artifacts/${DRONE_TAG}/*"
api_key:
from_secret: github_token
when:
event:
- tag
ref:
exclude:
- "refs/tags/*rc*"
- "refs/tags/*alpha*"
volumes:
- name: socket
host:
path: /var/run/docker.sock