Added release as conditional step
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
Guillem Borrell Nogueras 2022-11-21 00:05:52 +01:00
parent 4d91571797
commit 657c74e4e5

View file

@ -1,5 +1,9 @@
pipeline:
build:
release:
image: rust:1-buster
when:
event: tag
secrets: [ gitea_api_key ]
commands:
- cargo install --path .
- cargo build --release
- curl --user guillem:$GITEA_API_KEY https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr