feat(ci): publish releases as package
parent
5a69234877
commit
e46a0e37af
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue