You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: image references with a registry port or an @sha256: digest are split into the wrong name and tag #587
Confirmed: parseDockerImage in src/core-open/scanners/docker-cache.ts starts with const [imagePart, tagPart] = imageRef.split(':'), which breaks on host:port registries and @sha256: digests.
Order matters here: split off @... first, then find the tag as the text after the last : only if that : comes after the last /, then do the existing registry check on the first path segment (a : in it also marks a registry, as with localhost:5000). A table-driven test covering the existing simple forms will guard against regressions in everything that calls it.
Activity
vibgrate-team commentedon Nov 4, 2026
Confirmed:
parseDockerImageinsrc/core-open/scanners/docker-cache.tsstarts withconst [imagePart, tagPart] = imageRef.split(':'), which breaks onhost:portregistries and@sha256:digests.Order matters here: split off
@...first, then find the tag as the text after the last:only if that:comes after the last/, then do the existing registry check on the first path segment (a:in it also marks a registry, as withlocalhost:5000). A table-driven test covering the existing simple forms will guard against regressions in everything that calls it.fix(docker): parse registry ports and image digests (vibgrate#592)