mirror of
https://github.com/docker/compose.git
synced 2026-11-19 22:50:08 +00:00
The credentials assertion in TestImageDigestResolverUsesDistributionDigest was vacuous: EncodedAuth encodes even an empty AuthConfig, so EncodedRegistryAuth != "" always holds. Decode the header and check the username and password instead. Build the digest resolver once in generateImageDigestsOverride rather than once for the services and once for the jobs. Move the "registry descriptor digest, not the local content digest" rationale from the pkg/compose wrapper onto registry.ImageDigestResolver, where the code now lives. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Guillaume Lours <glours@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| api | ||
| bridge | ||
| compose | ||
| dryrun | ||
| mocks | ||
| remote | ||
| utils | ||
| watch | ||