mirror of
https://codeberg.org/scip/dbtool.git
synced 2025-12-17 03:10:57 +01:00
got to codeberg
This commit is contained in:
28
.woodpecker/release.yaml
Normal file
28
.woodpecker/release.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
# build release
|
||||
|
||||
labels:
|
||||
platform: linux/amd64
|
||||
|
||||
steps:
|
||||
compile:
|
||||
when:
|
||||
event: [manual]
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- apk update
|
||||
- apk add --no-cache bash build-base
|
||||
- make static
|
||||
- file dicepwgen_static
|
||||
- mv dicepwgen_static dicepwgen-linux-amd64
|
||||
|
||||
release:
|
||||
image: alpine:latest
|
||||
when:
|
||||
event: [manual]
|
||||
environment:
|
||||
DEPLOY_TOKEN:
|
||||
from_secret: DEPLOY_TOKEN
|
||||
commands:
|
||||
- apk update
|
||||
- apk add --no-cache bash httpie jq git
|
||||
- .woodpecker/release.sh dicepwgen-linux-amd64
|
||||
Reference in New Issue
Block a user