mirror of
https://github.com/docker/compose.git
synced 2026-09-23 05:54:32 +00:00
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> |
||
|---|---|---|
| .. | ||
| desktop | ||
| experimental | ||
| locker | ||
| memnet | ||
| oci | ||
| paths | ||
| pidfile | ||
| registry | ||
| sync | ||
| tracing | ||
| variables.go | ||