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