summaryrefslogtreecommitdiff
path: root/build_files/image-info
diff options
context:
space:
mode:
authortranch <tranch.xiao@gmail.com>2026-07-13 00:17:46 +0800
committertranch <tranch.xiao@gmail.com>2026-07-13 00:17:46 +0800
commit78bc16acebffcffcb5e544139cb4c5169f652985 (patch)
tree726f1019f55aa2ac195c8a4a0c2a8a1846d81851 /build_files/image-info
parent84df0042ca51743e2ef228d25a664a139ce8f9b3 (diff)
downloadAeroCore-OS-78bc16acebffcffcb5e544139cb4c5169f652985.tar.gz
AeroCore-OS-78bc16acebffcffcb5e544139cb4c5169f652985.zip
Allow env override for image update ref
Pass OSTREE_IMAGE_REF from GitHub repository variables into the image build so image-info.json can point systems at the configured update source.
Diffstat (limited to 'build_files/image-info')
-rwxr-xr-xbuild_files/image-info2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/image-info b/build_files/image-info
index d441917..6c13612 100755
--- a/build_files/image-info
+++ b/build_files/image-info
@@ -15,7 +15,7 @@ LOGO_COLOR="0;38;2;12;109;129"
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
OSTREE_REGISTRY="${OSTREE_REGISTRY:-docker://ghcr.io}"
OSTREE_NAMESPACE="${OSTREE_NAMESPACE:-$IMAGE_VENDOR}"
-IMAGE_REF="ostree-image-signed:${OSTREE_REGISTRY%/}/$OSTREE_NAMESPACE/$IMAGE_NAME"
+IMAGE_REF="${OSTREE_IMAGE_REF:-ostree-image-signed:${OSTREE_REGISTRY%/}/$OSTREE_NAMESPACE/$IMAGE_NAME}"
IMAGE_BRANCH_NORMALIZED="$IMAGE_BRANCH"
BASE_IMAGE_NAME="bazzite-deck"