GNAI-025: Image-Pins auf docker.io vollqualifiziert (podman hat keine unqualified-search registries); pin-Skript normalisiert Shortnames korrekt
ci-static / secret-scan (push) Successful in 21s
ci-static / yamllint (push) Successful in 32s
ci-static / ansible-syntax (push) Successful in 31s
ci-static / markdown-links (push) Successful in 21s

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-30 00:05:59 +01:00
co-authored by Mistral Vibe
parent 77969fac86
commit 2ad78a91fe
@@ -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):