GNAI-025: Fluxer-Chat-LXC CT 117 — komplett in Betrieb (fluxer.ghostnet.selfhost.eu) #21
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user