Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Fixes #791

Describe the change

The regctl artifact get command allows a config to be output to a file, but doesn't have an option to just show the config, and it still wants to return layers even when the config is saved. This adds a --config option to only return the config.

How to verify it

regctl artifact get --config ghcr.io/webassembly/wasi/http:0.2.0

Changelog text

  • Feat: Add regctl artifact get --config option to only return the 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

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit c2a4ce2 into regclient:main Jul 26, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-artifact-config branch July 26, 2024 19:55
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] Wasm: support application/vnd.wasm.config.v0+json media type
1 participant