Deploy binaries on Github
This commit is contained in:
parent
b82316752d
commit
2b38d0d4b2
1 changed files with 37 additions and 0 deletions
37
.drone.yml
37
.drone.yml
|
@ -71,6 +71,19 @@ steps:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
||||||
|
- name: github release
|
||||||
|
image: plugins/github-release:linux-arm
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: github_api_token
|
||||||
|
github_url: https://github.com
|
||||||
|
files:
|
||||||
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}hf
|
||||||
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}v7
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker:linux-arm
|
image: plugins/docker:linux-arm
|
||||||
settings:
|
settings:
|
||||||
|
@ -129,6 +142,18 @@ steps:
|
||||||
files:
|
files:
|
||||||
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
|
||||||
|
- name: github release
|
||||||
|
image: plugins/github-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: github_api_token
|
||||||
|
github_url: https://github.com
|
||||||
|
files:
|
||||||
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
@ -185,6 +210,18 @@ steps:
|
||||||
files:
|
files:
|
||||||
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
|
||||||
|
- name: github release
|
||||||
|
image: plugins/github-release
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: github_api_token
|
||||||
|
github_url: https://github.com
|
||||||
|
files:
|
||||||
|
- deploy/hathoris-${DRONE_STAGE_OS}-${DRONE_STAGE_ARCH}
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue