summaryrefslogtreecommitdiff
path: root/just_scripts/build-installer-iso.sh
diff options
context:
space:
mode:
authorTranch <tranch.xiao@gmail.com>2026-07-26 12:10:37 +0800
committerGitHub <noreply@github.com>2026-07-26 12:10:37 +0800
commitf065999626bfbe5b12f039e7130a36416e01ab8d (patch)
tree6b158dca5016733e2003739dad419d7c6935362d /just_scripts/build-installer-iso.sh
parentdb976362b9e8f96ed3f0974ba5d36af859b00dc3 (diff)
parent2d40be3f0106c2768dcec28a3144a959a3592cd7 (diff)
downloadAeroCore-OS-f065999626bfbe5b12f039e7130a36416e01ab8d.tar.gz
AeroCore-OS-f065999626bfbe5b12f039e7130a36416e01ab8d.zip
Merge pull request #7 from AeroCore-IO/dependabot/github_actions/docker/login-action-4.5.0
chore(deps): bump docker/login-action from 4.4.0 to 4.5.1
Diffstat (limited to 'just_scripts/build-installer-iso.sh')
-rwxr-xr-xjust_scripts/build-installer-iso.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/just_scripts/build-installer-iso.sh b/just_scripts/build-installer-iso.sh
index 38e1718..abd668f 100755
--- a/just_scripts/build-installer-iso.sh
+++ b/just_scripts/build-installer-iso.sh
@@ -10,7 +10,16 @@ image_tag="${IMAGE_TAG:-$(just generate-default-tag)}"
live_base_image="${LIVE_BASE_IMAGE:-quay.io/fedora/fedora-kinoite:43}"
installer_builder_image="${INSTALLER_BUILDER_IMAGE:-ghcr.io/jasonn3/build-container-installer:v1.5.0}"
source_image="${image_name}:${image_tag}"
-payload="localhost/aerocore-os-installer:latest"
+# Keep the payload in local container storage, but use the public update
+# reference as its local tag so Anaconda writes that reference as the boot
+# origin instead of persisting the temporary localhost name. OSTREE_IMAGE_REF
+# is intentionally tagless, matching the image-info contract.
+image_basename="${image_name##*/}"
+ostree_image_ref="${OSTREE_IMAGE_REF:-ostree-image-signed:docker://ghcr.io/${REPO_ORGANIZATION:-AeroCore-IO}/${image_basename}}"
+install_image_ref="${ostree_image_ref#ostree-image-signed:docker://}"
+install_image_ref="${install_image_ref#ostree-unverified-registry:docker://}"
+install_image_ref="${install_image_ref#docker://}"
+payload="${install_image_ref}:${image_tag}"
output_dir="${project_root}/output"
payload_archive="${output_dir}/install-payload.oci"
iso="${output_dir}/aerocore-os-${image_tag}-amd64.iso"