fix: CI pass absolute ARCHIPELAGO_BIN path through sudo
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:
parent
9e98c65dae
commit
55bceeda35
@ -36,8 +36,10 @@ jobs:
|
|||||||
- name: Build unbundled ISO
|
- name: Build unbundled ISO
|
||||||
run: |
|
run: |
|
||||||
cd image-recipe
|
cd image-recipe
|
||||||
sudo UNBUNDLED=1 DEV_SERVER=localhost BUILD_FROM_SOURCE=0 \
|
export ARCHIPELAGO_BIN="$(pwd)/../core/target/release/archipelago"
|
||||||
ARCHIPELAGO_BIN=../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
|
./build-auto-installer-iso.sh
|
||||||
|
|
||||||
- name: Copy to Builds
|
- name: Copy to Builds
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user