Disk image: installs follow registry.quineglobal.com, not localhost/
Some checks failed
Image, disk image and live ISO / iso (push) Has been cancelled
Some checks failed
Image, disk image and live ISO / iso (push) Has been cancelled
An install follows the image name its disk was built from, and the disk
image was built from localhost/quine-linux, so disk-image installs could
never update ("pinging container registry localhost ... connection
refused"). Tag the image as UPDATE_IMAGE and build from that name, as
the live ISO's installs already follow. Checked with
bootc-image-builder's manifest: target-imgref is
registry.quineglobal.com/quine-linux:latest, no localhost/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c22aae0591
commit
8bdc165476
1 changed files with 10 additions and 1 deletions
11
Taskfile.yml
11
Taskfile.yml
|
|
@ -81,6 +81,15 @@ tasks:
|
||||||
- task: build-image
|
- task: build-image
|
||||||
- task: export-to-storage
|
- task: export-to-storage
|
||||||
vars: { IMAGES: "{{.IMAGE}}" }
|
vars: { IMAGES: "{{.IMAGE}}" }
|
||||||
|
# An install follows the image name its disk was built from for
|
||||||
|
# updates, so build it from UPDATE_IMAGE's name, not localhost/:
|
||||||
|
# same image, under the name installs should pull from.
|
||||||
|
# (bootc-image-builder's --target-imgref did this; image-builder
|
||||||
|
# dropped it.)
|
||||||
|
- >-
|
||||||
|
{{if eq .CONTAINER_RUNTIME "podman"}}{{.SUDO}} podman tag localhost/{{.IMAGE}} {{.UPDATE_IMAGE}}{{else}}{{.SUDO}} {{.CONTAINER_RUNTIME}} run --rm --privileged
|
||||||
|
-v {{.STORAGE}}:/var/lib/containers/storage {{.SKOPEO_IMAGE}}
|
||||||
|
copy containers-storage:localhost/{{.IMAGE}}:latest containers-storage:{{.UPDATE_IMAGE}}{{end}}
|
||||||
- mkdir -p {{.OUTPUT_DIR}}
|
- mkdir -p {{.OUTPUT_DIR}}
|
||||||
# Root on btrfs, as Aurora installs it: disk/config.toml.
|
# Root on btrfs, as Aurora installs it: disk/config.toml.
|
||||||
- >-
|
- >-
|
||||||
|
|
@ -91,7 +100,7 @@ tasks:
|
||||||
-v {{.STORAGE}}:/var/lib/containers/storage
|
-v {{.STORAGE}}:/var/lib/containers/storage
|
||||||
{{.BIB_IMAGE}}
|
{{.BIB_IMAGE}}
|
||||||
--type qcow2
|
--type qcow2
|
||||||
localhost/{{.IMAGE}}
|
{{.UPDATE_IMAGE}}
|
||||||
generates:
|
generates:
|
||||||
- "{{.OUTPUT_DIR}}/qcow2/disk.qcow2"
|
- "{{.OUTPUT_DIR}}/qcow2/disk.qcow2"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue