From 2ad78a91fe15a095100100d17934e1d23854f6e5 Mon Sep 17 00:00:00 2001 From: spektr Date: Mon, 30 Nov 2026 00:05:59 +0100 Subject: [PATCH] GNAI-025: Image-Pins auf docker.io vollqualifiziert (podman hat keine unqualified-search registries); pin-Skript normalisiert Shortnames korrekt Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- proxmox/lxc/ct-117-fluxer/scripts/pin-fluxer-images.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/proxmox/lxc/ct-117-fluxer/scripts/pin-fluxer-images.sh b/proxmox/lxc/ct-117-fluxer/scripts/pin-fluxer-images.sh index e9b2330..ce787a1 100755 --- a/proxmox/lxc/ct-117-fluxer/scripts/pin-fluxer-images.sh +++ b/proxmox/lxc/ct-117-fluxer/scripts/pin-fluxer-images.sh @@ -67,7 +67,15 @@ refs = set() for service in (doc.get("services") or {}).values(): image = service.get("image") if image: - refs.add(expand(str(image))) + ref = expand(str(image)) + # podman has no unqualified-search registries: normalize to docker.io + name = ref.split("/")[0].split(":")[0] # registry = first path component, tag stripped + if "." not in name: + if "/" in ref: + ref = "docker.io/" + ref # chrislusf/seaweedfs etc. + else: + ref = "docker.io/library/" + ref # official images: postgres, nats, caddy + refs.add(ref) with open(out_file, "w") as f: for ref in sorted(refs):