Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Fixes #760.

Describe the change

This adds an experimental regctl ref command to parse image references and allow formatted output. This also cleans up the digest command a bit (using cobra for input vs os.Stdin, and templating the output).

How to verify it

regctl ref nginx --format '{{.Registry}}'

Changelog text

  • Add an experimental regctl ref 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 c1c6ae0 into regclient:main Jun 19, 2024
@sudo-bmitch sudo-bmitch deleted the pr-regctl-ref branch June 19, 2024 15:19
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.

[Feature] Ref Parsing & Manipulation Functionality
1 participant