when: event: tag ref: refs/tags/granc-v* steps: build: image: rust:latest pull: true commands: - apt update -y - apt-get install -y protobuf-compiler - cargo build --release --target x86_64-unknown-linux-gnu package: image: alpine commands: - apk add --no-cache tar gzip - tar -czf granc-x86_64-unknown-linux-gnu.tgz -C target/x86_64-unknown-linux-gnu/release granc publish: image: woodpeckerci/plugin-release settings: base_url: https://codeberg.org files: - granc-x86_64-unknown-linux-gnu.tgz api_key: from_secret: CODEBERG_TOKEN