Skip to content

Commit

Permalink
allow to show every bake group, not only "linux"
Browse files Browse the repository at this point in the history
  • Loading branch information
lemeurherveCB committed Mar 2, 2025
1 parent 38a48ff commit efe495c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ every-build: check-reqs
show:
@$(bake_cli) linux --print

show-%:
@$(bake_cli) $* --print

list: check-reqs
@set -x; make --silent show | jq -r '.target | path(.. | select(.platforms[] | contains("linux/$(ARCH)"))?) | add'

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ make every-build

#### Other `make` targets

`show` gives us a detailed view of the images that will be built, with the tags, platforms, and Dockerfiles.
`show` (and `show-windows`) gives us a detailed view of the images that could be built, with all tags, platforms, and Dockerfiles.

```bash
$ make show
Expand Down

0 comments on commit efe495c

Please sign in to comment.