iso.yml: find the ISO bootc-image-builder wrote
All checks were successful
Installer ISO / iso (push) Successful in 10m5s

The build succeeded, but the upload looked for
output/bootc-installer/install.iso, which doesn't exist; the builder
names the folder after its export. Find install.iso under output/ and
print where it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Philip Peterson 2026-10-30 04:56:45 -08:00
parent 309423d5a6
commit dedd12c319

View file

@ -81,7 +81,11 @@ jobs:
MINIO_ACCESS_KEY: ${{ vars.MINIO_ACCESS_KEY || secrets.MINIO_ACCESS_KEY }} MINIO_ACCESS_KEY: ${{ vars.MINIO_ACCESS_KEY || secrets.MINIO_ACCESS_KEY }}
MINIO_SECRET_KEY: ${{ secrets.MINIO_SECRET_KEY }} MINIO_SECRET_KEY: ${{ secrets.MINIO_SECRET_KEY }}
run: | run: |
iso=output/bootc-installer/install.iso # bootc-image-builder names the folder after its export, not the
# image type (it wasn't output/bootc-installer/), so look for it.
iso=$(find output -name install.iso -print -quit)
[ -n "$iso" ] || { echo "no install.iso under output/:"; find output -maxdepth 2; exit 1; }
echo "ISO: $iso"
ls -lh "$iso" ls -lh "$iso"
mc alias set store "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY" mc alias set store "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY"
mc mb --ignore-existing "store/${MINIO_BUCKET}" mc mb --ignore-existing "store/${MINIO_BUCKET}"