cli icon indicating copy to clipboard operation
cli copied to clipboard

cli/config/types: make AuthConfig an alias for registry.AuthConfig

Open thaJeztah opened this issue 2 months ago • 1 comments

  • relates to https://github.com/docker/cli/pull/1642
  • relates to https://github.com/moby/buildkit/pull/800

The AuthConfig type was forked from the docker/docker API types in commit 27b2797f7deb3ca5b7f80371d825113deb1faca1 to reduce the dependency on the docker API types in BuildKit and Buildx (see buildkit#800). Now that the API is a separate module with minimal dependencies, this should no longer be a big concern, so this patch un-forks the type.

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes



- A picture of a cute animal (not mandatory but encouraged)

thaJeztah avatar Dec 04 '25 13:12 thaJeztah

Codecov Report

:x: Patch coverage is 78.57143% with 12 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cli/command/registry.go 35.71% 9 Missing :warning:
cli/config/memorystore/store.go 71.42% 2 Missing :warning:
cli/command/container/auth_config_utils.go 0.00% 1 Missing :warning:

:loudspeaker: Thoughts on this report? Let us know!

codecov-commenter avatar Dec 04 '25 13:12 codecov-commenter