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