diff --git a/.woodpecker/main.yml b/.woodpecker/main.yml index 72f19b4..b7333bb 100644 --- a/.woodpecker/main.yml +++ b/.woodpecker/main.yml @@ -47,6 +47,9 @@ steps: when: event: [tag] image: rust:1.100-bookworm + environment: + GITEA_TOKEN: + from_secret: GITEA_TOKEN commands: - apt-get update - apt-get install -y --no-install-recommends ca-certificates git build-essential python3 @@ -64,7 +67,7 @@ steps: python3 tools/release/package.py --source-sha "$CI_COMMIT_SHA" --version "$version" python3 tools/release/smoke.py --archive "dist/marqdo-knowledge-$version-x86_64-unknown-linux-gnu.tar.gz" --evidence-out dist/smoke-evidence.json if [ -z "${GITEA_TOKEN:-}" ]; then - echo "GITEA_TOKEN secret is required for the release lane" >&2 + echo "GITEA_TOKEN secret is required for the release lane; map it via the step environment from_secret entry" >&2 exit 2 fi python3 tools/release/publish-gitea.py \