Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Describe the change

The docker config may contain auth entries that are not registries. This ignores those entries rather than attempting to parse them.

How to verify it

Tests have been added. Including an entry for example.org/foo in ~/.docker/config.json will no longer modify the host config for example.org.

Changelog text

  • Fix: Ignore unsupported entries in docker config.

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

  • 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

The docker config may contain auth entries that are not registries.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 602bb57 into regclient:main Jan 9, 2025
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-docker-config-ignore-entries branch January 9, 2025 15:11
@cdupuis
Copy link

cdupuis commented Jan 9, 2025

Thanks @sudo-bmitch.

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.

2 participants