Fix Woodpecker CI pipeline: explicitly set GITEA_SERVER_URL and remove 'set' command
- Added GITEA_SERVER_URL to the Release step to fix login failures. - Removed 'set' command from the Prepare step to protect sensitive environment variables. Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -25,7 +25,6 @@ steps:
|
|||||||
- mkdir -p artifacts
|
- mkdir -p artifacts
|
||||||
- cargo --version
|
- cargo --version
|
||||||
- rustc --version
|
- rustc --version
|
||||||
- set
|
|
||||||
|
|
||||||
- name: Build for ${SHORT}
|
- name: Build for ${SHORT}
|
||||||
image: img.kie.rs/jjkiers/rust-crossbuild:rust1.79.0-zig0.11.0-zig
|
image: img.kie.rs/jjkiers/rust-crossbuild:rust1.79.0-zig0.11.0-zig
|
||||||
@@ -46,6 +45,7 @@ steps:
|
|||||||
- ls -lah artifacts
|
- ls -lah artifacts
|
||||||
- scripts/create_release_artifacts.sh
|
- scripts/create_release_artifacts.sh
|
||||||
environment:
|
environment:
|
||||||
|
GITEA_SERVER_URL: https://code.kiers.eu
|
||||||
GITEA_SERVER_TOKEN:
|
GITEA_SERVER_TOKEN:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user