Skip to content

Conversation

@sudo-bmitch
Copy link
Contributor

Fixes issue

Describe the change

This directly injects the docker config credentials using an environment variable instead of a config file. See docker/cli#6008 for the upstream project change.

How to verify it

docker run -e DOCKER_AUTH_CONFIG="$(cat ~/.docker/config.json)" regclient/regctl manifest get $image -v trace

Note the registries processed in the debug logs.

Changelog text

  • Feat: Support DOCKER_AUTH_CONFIG variable.

Please verify and check that the pull request fulfills the following requirements

Documentation additions could be added to the regclient.org site in a separate PR.

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

This directly injects the docker config credentials using an environment variable instead of a config file.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 86c1ba5 into regclient:main Oct 6, 2025
4 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-docker-auth-config branch October 6, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant