improve CI

This commit is contained in:
Luca Bilke 2024-02-10 18:32:15 +01:00
parent 7b42dfc151
commit cbd3d7c749
No known key found for this signature in database
GPG Key ID: AD6630D0A1E650AC
1 changed files with 15 additions and 14 deletions

View File

@ -1,5 +1,6 @@
when: when:
- event: tag - event: tag
- event: manual
steps: steps:
build: build:
@ -27,20 +28,20 @@ steps:
-D "$${DEPENDENCIES}" \ -D "$${DEPENDENCIES}" \
"$${CI_WORKSPACE}/pkg" "$${CI_WORKSPACE}/pkg"
package-targz: # package-targz:
image: alpine # image: alpine
commands: # commands:
- tar czf $${CI_REPO_NAME}-$${CI_COMMIT_TAG}.tar.gz --directory=$${CI_WORKSPACE}/pkg . # - tar czf $${CI_REPO_NAME}-$${CI_COMMIT_TAG}.tar.gz --directory=$${CI_WORKSPACE}/pkg .
#
publish: # publish:
image: woodpeckerci/plugin-gitea-release # image: woodpeckerci/plugin-gitea-release
settings: # settings:
base_url: https://git.snaile.de # base_url: https://git.snaile.de
files: # files:
- "${CI_REPO_NAME}-${CI_COMMIT_TAG}.tar.gz" # - "${CI_REPO_NAME}-${CI_COMMIT_TAG}.tar.gz"
api_key: # api_key:
from_secret: gitea_release # from_secret: gitea_release
target: main # target: main
publish-xbps: publish-xbps:
image: ghcr.io/void-linux/void-musl-busybox image: ghcr.io/void-linux/void-musl-busybox