compose/internal
Nicolas De Loof a472f714d5 registry: encode credentials with moby's authconfig package
EncodedAuth now delegates the X-Registry-Auth wire encoding to
moby/api/pkg/authconfig (same module, already required) instead of
hand-rolling the JSON+base64url pair, and push.go reuses it instead of
its own copy. The CLI and moby AuthConfig structs are field-for-field
identical, so a direct type conversion bridges them.

The explicit GetAuthConfigKey normalization drops out of EncodedAuth:
docker/cli's configfile.GetAuthConfig normalizes the Docker Hub domain
itself. It remains for the OCI resolver, whose credential callback
receives the network host actually contacted (registry-1.docker.io),
which the configfile does not map.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-08-25 17:27:26 +02:00
..
desktop fix(publish): bypass Docker Desktop proxy for loopback registries 2026-06-15 21:18:19 +02:00
experimental next release will be major version v5.x 2025-11-13 09:32:43 +01:00
locker use new moby/moby modules instead of docker/docker dependency 2026-04-08 08:50:50 +02:00
memnet
oci fix(oci): fetch artifact layers from blobs endpoint, not via Resolve 2026-08-03 14:56:34 +02:00
paths use go-compose instead Signed-off-by: tensorworker <tensorworker@proton.me> 2026-01-15 08:24:20 +01:00
pidfile use new moby/moby modules instead of docker/docker dependency 2026-04-08 08:50:50 +02:00
registry registry: encode credentials with moby's authconfig package 2026-08-25 17:27:26 +02:00
sync fix(watch): sync into a symlinked directory instead of failing 2026-08-18 17:25:13 +02:00
tracing chore(deps): github.com/docker/buildx v0.34.1, buildkit v0.30.0 2026-06-15 12:45:57 +02:00
variables.go format code with gofumpt 2024-12-17 16:50:14 +01:00