fix: CI pass absolute ARCHIPELAGO_BIN path through sudo
All checks were successful
Build Archipelago ISO / build-iso (push) Successful in 18m38s
All checks were successful
Build Archipelago ISO / build-iso (push) Successful in 18m38s
sudo doesn't inherit env vars. Use absolute path and pass it explicitly so the ISO build finds the freshly built binary instead of falling through to podman build from source. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -36,8 +36,10 @@ jobs:
|
||||
- name: Build unbundled ISO
|
||||
run: |
|
||||
cd image-recipe
|
||||
sudo UNBUNDLED=1 DEV_SERVER=localhost BUILD_FROM_SOURCE=0 \
|
||||
ARCHIPELAGO_BIN=../core/target/release/archipelago \
|
||||
export ARCHIPELAGO_BIN="$(pwd)/../core/target/release/archipelago"
|
||||
ls -la "$ARCHIPELAGO_BIN" || echo "WARNING: binary not found"
|
||||
sudo -E UNBUNDLED=1 DEV_SERVER=localhost BUILD_FROM_SOURCE=0 \
|
||||
ARCHIPELAGO_BIN="$ARCHIPELAGO_BIN" \
|
||||
./build-auto-installer-iso.sh
|
||||
|
||||
- name: Copy to Builds
|
||||
|
||||
Reference in New Issue
Block a user