feat(ci): publish releases as package
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details

signal-handling
Jef Roosens 2023-06-05 11:39:57 +02:00
parent 5a69234877
commit e46a0e37af
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,7 @@
matrix:
PLATFORM:
- 'linux/amd64'
# - 'linux/arm64'
- 'linux/arm64'
platform: ${PLATFORM}
branches: [ main ]
@ -20,14 +20,14 @@ pipeline:
event: tag
publish:
image: 'plugins/gitea-release'
image: 'curlimages/curl'
secrets:
- gitea_release_api_key
settings:
base_url: https://git.rustybever.be
files: target/release/alex-*
checksum:
- sha256
title: ${CI_COMMIT_TAG}
- gitea_password
commands:
- >
curl -s --fail
--user "Chewing_Bever:$GITEA_PASSWORD"
--upload-file target/release/alex
https://git.rustybever.be/api/packages/Chewing_Bever/generic/alex/"${CI_COMMIT_TAG}"/alex-"$(echo '${PLATFORM}' | sed 's:/:-:g')"
when:
event: tag