diff --git a/.forgejo/workflows/iso.yml b/.forgejo/workflows/iso.yml index 9fadb0d..cb633c6 100644 --- a/.forgejo/workflows/iso.yml +++ b/.forgejo/workflows/iso.yml @@ -5,8 +5,8 @@ name: Image, installer ISO, disk image and live ISO # forge.quinefoundation.com/quine-global-labs/quine-linux (`latest`, # ``, the commit), then builds the installer ISO, a disk image (qcow2) # and a live ISO from it and uploads them to MinIO as -# /installer//install.iso, /installer/latest/install.iso, -# /disk/latest/disk.qcow2 and /live/latest/live.iso. +# /installer/latest/install.iso, /disk/latest/disk.qcow2 and +# /live/latest/live.iso, replacing the last build's. # # Runs on runner-x86-linux (host mode, root podman; petersweb-infra, # hosts/runner-x86-linux): bootc-image-builder needs an x86_64 host with @@ -151,10 +151,9 @@ jobs: ls -lh "$iso" mc alias set store "$MINIO_ENDPOINT" "$MINIO_ACCESS_KEY" "$MINIO_SECRET_KEY" mc mb --ignore-existing "store/${MINIO_BUCKET}" - dest="store/${MINIO_BUCKET}/installer" - mc cp "$iso" "${dest}/${GITHUB_SHA}/install.iso" - mc cp "${dest}/${GITHUB_SHA}/install.iso" "${dest}/latest/install.iso" - # The disk image and live ISO: latest only, they're as big as the ISO. + # Latest only: each file is 5-8 GB, and the forge VM's disk is + # shared. Tagged releases keep their own copies (releases//). + mc cp "$iso" "store/${MINIO_BUCKET}/installer/latest/install.iso" ls -lh output/qcow2/disk.qcow2 mc cp output/qcow2/disk.qcow2 "store/${MINIO_BUCKET}/disk/latest/disk.qcow2" ls -lh output/live/Quine-Linux-Live.iso