Newer version of image
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline failed Details

main 0.3.5
Guillem Borrell 1 year ago
parent 1da96fa7ff
commit 8e4918a6c4

@ -1,12 +1,12 @@
pipeline: pipeline:
build: build:
image: rust:1-buster image: rust:1-bullseye
when: when:
event: tag event: tag
commands: commands:
- cargo build --release - cargo build --release
buildlinuxaarch64: buildlinuxaarch64:
image: rust:1-buster image: rust:1-bullseye
when: when:
event: tag event: tag
commands: commands:
@ -14,7 +14,7 @@ pipeline:
- rustup target add aarch64-unknown-linux-gnu - rustup target add aarch64-unknown-linux-gnu
- cargo build --release --target aarch64-unknown-linux-gnu - cargo build --release --target aarch64-unknown-linux-gnu
buildwinamd64: buildwinamd64:
image: rust:1-buster image: rust:1-bullseye
when: when:
event: tag event: tag
commands: commands:
@ -22,7 +22,7 @@ pipeline:
- rustup target add x86_64-pc-windows-gnu - rustup target add x86_64-pc-windows-gnu
- cargo build --release --target x86_64-pc-windows-gnu - cargo build --release --target x86_64-pc-windows-gnu
release: release:
image: rust:1-buster image: rust:1-bullseye
when: when:
event: tag event: tag
secrets: [ gitea_api_key ] secrets: [ gitea_api_key ]
@ -31,7 +31,7 @@ pipeline:
- curl --user guillem:$GITEA_API_KEY --upload-file target/aarch64-unknown-linux-gnu/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-aarch64 - curl --user guillem:$GITEA_API_KEY --upload-file target/aarch64-unknown-linux-gnu/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-linux-aarch64
- curl --user guillem:$GITEA_API_KEY --upload-file target/x86_64-pc-windows-gnu/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-win-amd64 - curl --user guillem:$GITEA_API_KEY --upload-file target/x86_64-pc-windows-gnu/release/dr https://git.guillemborrell.es/api/packages/guillem/generic/dr/$CI_COMMIT_TAG/dr-win-amd64
publish: publish:
image: rust:1-buster image: rust:1-bullseye
when: when:
event: tag event: tag
secrets: [ cargo_registry_token ] secrets: [ cargo_registry_token ]

Loading…
Cancel
Save