Skip to content

docs: fix history inspect attachment examples #3258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2025

Conversation

crazy-max
Copy link
Member

Some types were missing in the docs and provenance output was not correct.


```console
$ docker buildx history inspect attachment qu2gsuo8ejqrwdfii23xkkckt --type provenance
$ docker buildx history inspect attachment ^0 --type index
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^0 is kind of nonsensical as that would be the default anyway.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The command requires at least one arg:

Args: cobra.RangeArgs(1, 2),

$ docker buildx history inspect attachment --type index
ERROR: accepts between 1 and 2 arg(s), received 0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened #3264

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the docs-fix-history-attachment branch from 2bcae43 to ec45eb6 Compare June 23, 2025 07:40
@tonistiigi tonistiigi merged commit 4c1e7b2 into docker:master Jun 23, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants