updated .drone.yml
This commit is contained in:
parent
811f1155a9
commit
e7850c8d72
16
.drone.yml
16
.drone.yml
@ -17,5 +17,21 @@ steps:
|
|||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install libasound2-dev -y
|
- apt-get install libasound2-dev -y
|
||||||
- cargo build --release --verbose --all
|
- cargo build --release --verbose --all
|
||||||
|
- cd target/release
|
||||||
|
- tar -czvf zabbixlaunch-${DRONE_TAG}.tar.gz zabbixlaunch
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
- name: publish
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
base_url: https://git.paulbsd.com
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
files: "target/release/*.tar.gz"
|
||||||
|
checksum:
|
||||||
|
- sha256
|
||||||
|
- sha512
|
||||||
|
environment:
|
||||||
|
PLUGIN_TITLE: ""
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
Loading…
Reference in New Issue
Block a user