Skip to content
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

docs: add description for bake --list #2907

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

dvdksn
Copy link
Contributor

@dvdksn dvdksn commented Jan 13, 2025

To list all targets:

```console {title="List targets"}
$ docker buildx bake --list=targets
Copy link
Member

Choose a reason for hiding this comment

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

We can also define either --list=targets or long-form csv value --list=type=targets. There is also a format attribute that can be one of table (default) or json: --list=type=targets,format=json. Maybe worth a small note about format

@crazy-max crazy-max added this to the v0.20.0 milestone Jan 13, 2025
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
@dvdksn dvdksn force-pushed the bake-list-flag-docs branch from 07d7479 to e36535e Compare January 13, 2025 10:48
@dvdksn dvdksn requested a review from crazy-max January 13, 2025 10:48
Copy link
Member

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

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

LGTM thanks!

@crazy-max crazy-max merged commit 769d22f into docker:master Jan 13, 2025
36 checks passed
@dvdksn dvdksn deleted the bake-list-flag-docs branch January 13, 2025 13:17
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