summaryrefslogtreecommitdiff
path: root/.github/workflows/build-live-installer.yml
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-17 06:56:56 +0800
committertranch <tranch.xiao@gmail.com>2026-07-17 08:09:37 +0800
commit4fc0c9bfe42b5d0e543c5ca44c86d25a19f5e1d9 (patch)
tree19217b1e64cf32bdf2cd0d6e5aae2660cd8b0966 /.github/workflows/build-live-installer.yml
parent04e27e0b977826b475b969f19783c1aad300b560 (diff)
downloadAeroCore-OS-4fc0c9bfe42b5d0e543c5ca44c86d25a19f5e1d9.tar.gz
AeroCore-OS-4fc0c9bfe42b5d0e543c5ca44c86d25a19f5e1d9.zip
Fix live installer ISO build
Build the live installer from the requested local AeroCore image, use a separate Fedora live base, pass the payload through rootful container storage, and write reproducible checksum entries without host paths.
Diffstat (limited to '.github/workflows/build-live-installer.yml')
-rw-r--r--.github/workflows/build-live-installer.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/build-live-installer.yml b/.github/workflows/build-live-installer.yml
index 870699e..b5fedb3 100644
--- a/.github/workflows/build-live-installer.yml
+++ b/.github/workflows/build-live-installer.yml
@@ -13,6 +13,7 @@ on:
branches:
- main
paths:
+ - "Justfile"
- "installer/**"
- "just_scripts/build-live-installer.sh"
- ".github/workflows/build-live-installer.yml"
@@ -34,7 +35,7 @@ jobs:
env:
IMAGE_REGISTRY: ghcr.io/${{ github.repository_owner }}
IMAGE_TAG: ${{ inputs.image_tag || 'latest' }}
- BASE_IMAGE: ghcr.io/ublue-os/bazzite:stable
+ LIVE_BASE_IMAGE: quay.io/fedora/fedora-kinoite:43
FEDORA_VERSION: "44"
steps:
@@ -76,11 +77,21 @@ jobs:
- name: Build live installer payload
run: |
+ mkdir -p output
+ sudo podman tag \
+ "${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}" \
+ localhost/aerocore-live-payload:latest
+ sudo podman save \
+ --format oci-archive \
+ --output output/install-payload.oci \
+ localhost/aerocore-live-payload:latest
+
sudo podman build \
--cap-add sys_admin \
--security-opt label=disable \
- --build-arg "BASE_IMAGE=${BASE_IMAGE}" \
- --build-arg "INSTALL_IMAGE_PAYLOAD=${IMAGE_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}" \
+ --build-arg "BASE_IMAGE=${LIVE_BASE_IMAGE}" \
+ --build-arg "INSTALL_IMAGE_PAYLOAD=localhost/aerocore-live-payload:latest" \
+ --build-arg "INSTALL_IMAGE_PAYLOAD_ARCHIVE=/install-payload.oci" \
--tag localhost/aerocore-live-payload:latest \
--file installer/Containerfile \
.