iso.yml: find the ISO bootc-image-builder wrote
All checks were successful
Installer ISO / iso (push) Successful in 10m5s
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:
parent
309423d5a6
commit
dedd12c319
1 changed files with 5 additions and 1 deletions
|
|
@ -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}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue