summaryrefslogtreecommitdiff
path: root/.github/workflows
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
commit04b8dcbbc3d5707f488c9b67ba96ce88ccd15181 (patch)
tree19217b1e64cf32bdf2cd0d6e5aae2660cd8b0966 /.github/workflows
parente77483dcb6570a003001ea1c81a962c9f45fda74 (diff)
downloadAeroCore-OS-04b8dcbbc3d5707f488c9b67ba96ce88ccd15181.tar.gz
AeroCore-OS-04b8dcbbc3d5707f488c9b67ba96ce88ccd15181.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')
-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 \
.