Skip to content

Conversation

@sudo-bmitch
Copy link
Contributor

Fixes issue

Describe the change

This adds the command:

regctl registry whoami

which returns the current logged in user, if configured. It also updates regctl registry config to call the credential helper to set the username in regctl registry config.

How to verify it

regctl registry whoami
regctl registry whoami ghcr.io

Changelog text

  • Feat: Adding a whoami command.

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

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit fa3189e into regclient:main Feb 20, 2025
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-whoami branch February 20, 2025 20:16
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