mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-19 21:51:02 +01:00
29 lines
597 B
YAML
29 lines
597 B
YAML
# build release
|
|
|
|
labels:
|
|
platform: linux/amd64
|
|
|
|
steps:
|
|
compile:
|
|
when:
|
|
event: [tag,manual]
|
|
image: alpine:latest
|
|
commands:
|
|
- apk update
|
|
- apk add --no-cache bash git build-base
|
|
- make
|
|
- file ${CI_REPO_NAME}
|
|
- mv ${CI_REPO_NAME} ${CI_REPO_NAME}-freebsd-all-$CI_COMMIT_TAG
|
|
|
|
release:
|
|
image: alpine:latest
|
|
when:
|
|
event: [tag,manual]
|
|
environment:
|
|
DEPLOY_TOKEN:
|
|
from_secret: DEPLOY_TOKEN
|
|
commands:
|
|
- apk update
|
|
- apk add --no-cache bash httpie jq git
|
|
- .woodpecker/release.sh ${CI_REPO_NAME}-*
|