mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 19:31:35 +00:00
drone: add gitea publish
This commit is contained in:
parent
9734f7bfd6
commit
b2db4d5ba1
1 changed files with 39 additions and 0 deletions
39
.drone.yml
39
.drone.yml
|
@ -124,6 +124,7 @@ steps:
|
||||||
- cargo build --target=$TARGET --release
|
- cargo build --target=$TARGET --release
|
||||||
- $TOOL-strip target/$TARGET/release/pict-rs
|
- $TOOL-strip target/$TARGET/release/pict-rs
|
||||||
- cp target/$TARGET/release/pict-rs .
|
- cp target/$TARGET/release/pict-rs .
|
||||||
|
- cp pict-rs pict-rs-linux-amd64
|
||||||
|
|
||||||
- name: push
|
- name: push
|
||||||
image: plugins/docker:20
|
image: plugins/docker:20
|
||||||
|
@ -139,6 +140,18 @@ steps:
|
||||||
- REPO_ARCH=amd64
|
- REPO_ARCH=amd64
|
||||||
- TARGET_ARCH=x86_64-unknown-linux-musl
|
- TARGET_ARCH=x86_64-unknown-linux-musl
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/gitea-release:1
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
base_url: https://git.asonix.dog
|
||||||
|
files:
|
||||||
|
- pict-rs-linux-amd64
|
||||||
|
checksum:
|
||||||
|
- sha256
|
||||||
|
- sha512
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
@ -203,6 +216,7 @@ steps:
|
||||||
- cargo build --target=$TARGET --release
|
- cargo build --target=$TARGET --release
|
||||||
- $TOOL-strip target/$TARGET/release/pict-rs
|
- $TOOL-strip target/$TARGET/release/pict-rs
|
||||||
- cp target/$TARGET/release/pict-rs .
|
- cp target/$TARGET/release/pict-rs .
|
||||||
|
- cp pict-rs pict-rs-linux-arm64v8
|
||||||
|
|
||||||
- name: push
|
- name: push
|
||||||
image: plugins/docker:20
|
image: plugins/docker:20
|
||||||
|
@ -218,6 +232,18 @@ steps:
|
||||||
- REPO_ARCH=arm64v8
|
- REPO_ARCH=arm64v8
|
||||||
- TARGET_ARCH=aarch64-unknown-linux-musl
|
- TARGET_ARCH=aarch64-unknown-linux-musl
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/gitea-release:1
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
base_url: https://git.asonix.dog
|
||||||
|
files:
|
||||||
|
- pict-rs-linux-arm64v8
|
||||||
|
checksum:
|
||||||
|
- sha256
|
||||||
|
- sha512
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
@ -282,6 +308,7 @@ steps:
|
||||||
- cargo build --target=$TARGET --release
|
- cargo build --target=$TARGET --release
|
||||||
- $TOOL-strip target/$TARGET/release/pict-rs
|
- $TOOL-strip target/$TARGET/release/pict-rs
|
||||||
- cp target/$TARGET/release/pict-rs .
|
- cp target/$TARGET/release/pict-rs .
|
||||||
|
- cp pict-rs pict-rs-linux-arm32v7
|
||||||
|
|
||||||
- name: push
|
- name: push
|
||||||
image: plugins/docker:20
|
image: plugins/docker:20
|
||||||
|
@ -297,6 +324,18 @@ steps:
|
||||||
- REPO_ARCH=arm32v7
|
- REPO_ARCH=arm32v7
|
||||||
- TARGET_ARCH=armv7-unknown-linux-musleabifh
|
- TARGET_ARCH=armv7-unknown-linux-musleabifh
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/gitea-release:1
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
base_url: https://git.asonix.dog
|
||||||
|
files:
|
||||||
|
- pict-rs-linux-arm32v7
|
||||||
|
checksum:
|
||||||
|
- sha256
|
||||||
|
- sha512
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
|
|
Loading…
Reference in a new issue