Upload package and publish new version
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
657c74e4e5
commit
35a2992118
|
@ -3,7 +3,8 @@ pipeline:
|
||||||
image: rust:1-buster
|
image: rust:1-buster
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
secrets: [ gitea_api_key ]
|
secrets: [ gitea_api_key , cargo_registry_token ]
|
||||||
commands:
|
commands:
|
||||||
- cargo build --release
|
- cargo build --release
|
||||||
- curl --user guillem:$GITEA_API_KEY https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr
|
- curl --user guillem:$GITEA_API_KEY --upload-file target/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-amd64
|
||||||
|
- cargo publish --token $CARGO_REGISTRY_TOKEN
|
Loading…
Reference in a new issue