From dedd12c319049558ad05460f4a96e430c23e325d Mon Sep 17 00:00:00 2001 From: Philip Peterson <1326208+philip-peterson@users.noreply.github.com> Date: Fri, 30 Oct 2026 04:56:45 -0800 Subject: [PATCH] iso.yml: find the ISO bootc-image-builder wrote 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 --- .forgejo/workflows/iso.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/iso.yml b/.forgejo/workflows/iso.yml index a94b472..24e7f1c 100644 --- a/.forgejo/workflows/iso.yml +++ b/.forgejo/workflows/iso.yml @@ -81,7 +81,11 @@ jobs: MINIO_ACCESS_KEY: ${{ vars.MINIO_ACCESS_KEY || secrets.MINIO_ACCESS_KEY }} MINIO_SECRET_KEY: ${{ secrets.MINIO_SECRET_KEY }} 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" mc alias set store "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY" mc mb --ignore-existing "store/${MINIO_BUCKET}"