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

This commit is contained in:
Guillem Borrell 2022-11-29 23:53:23 +00:00
parent 1da96fa7ff
commit 8e4918a6c4

View file

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