Skip to content

Commit 807d15f

Browse files
authored
Merge pull request #2899 from crazy-max/docs-quiet-progress
docs: missing quiet progress mode
2 parents 769d22f + ac636fd commit 807d15f

File tree

4 files changed

+106
-102
lines changed

4 files changed

+106
-102
lines changed

commands/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ type commonFlags struct {
720720

721721
func commonBuildFlags(options *commonFlags, flags *pflag.FlagSet) {
722722
options.noCache = flags.Bool("no-cache", false, "Do not use cache when building the image")
723-
flags.StringVar(&options.progress, "progress", "auto", `Set type of progress output ("auto", "plain", "tty", "rawjson"). Use plain to show container output`)
723+
flags.StringVar(&options.progress, "progress", "auto", `Set type of progress output ("auto", "quiet", "plain", "tty", "rawjson"). Use plain to show container output`)
724724
options.pull = flags.Bool("pull", false, "Always attempt to pull all referenced images")
725725
flags.StringVar(&options.metadataFile, "metadata-file", "", "Write build result metadata to a file")
726726
}

docs/reference/buildx_bake.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,25 @@ Build from a file
1313

1414
### Options
1515

16-
| Name | Type | Default | Description |
17-
|:------------------------------------|:--------------|:--------|:----------------------------------------------------------------------------------------------------|
18-
| `--allow` | `stringArray` | | Allow build to access specified resources |
19-
| [`--builder`](#builder) | `string` | | Override the configured builder instance |
20-
| [`--call`](#call) | `string` | `build` | Set method for evaluating build (`check`, `outline`, `targets`) |
21-
| [`--check`](#check) | `bool` | | Shorthand for `--call=check` |
22-
| `-D`, `--debug` | `bool` | | Enable debug logging |
23-
| [`-f`](#file), [`--file`](#file) | `stringArray` | | Build definition file |
24-
| [`--list`](#list) | `string` | | List targets or variables |
25-
| `--load` | `bool` | | Shorthand for `--set=*.output=type=docker` |
26-
| [`--metadata-file`](#metadata-file) | `string` | | Write build result metadata to a file |
27-
| [`--no-cache`](#no-cache) | `bool` | | Do not use cache when building the image |
28-
| [`--print`](#print) | `bool` | | Print the options without building |
29-
| [`--progress`](#progress) | `string` | `auto` | Set type of progress output (`auto`, `plain`, `tty`, `rawjson`). Use plain to show container output |
30-
| [`--provenance`](#provenance) | `string` | | Shorthand for `--set=*.attest=type=provenance` |
31-
| [`--pull`](#pull) | `bool` | | Always attempt to pull all referenced images |
32-
| `--push` | `bool` | | Shorthand for `--set=*.output=type=registry` |
33-
| [`--sbom`](#sbom) | `string` | | Shorthand for `--set=*.attest=type=sbom` |
34-
| [`--set`](#set) | `stringArray` | | Override target value (e.g., `targetpattern.key=value`) |
16+
| Name | Type | Default | Description |
17+
|:------------------------------------|:--------------|:--------|:-------------------------------------------------------------------------------------------------------------|
18+
| `--allow` | `stringArray` | | Allow build to access specified resources |
19+
| [`--builder`](#builder) | `string` | | Override the configured builder instance |
20+
| [`--call`](#call) | `string` | `build` | Set method for evaluating build (`check`, `outline`, `targets`) |
21+
| [`--check`](#check) | `bool` | | Shorthand for `--call=check` |
22+
| `-D`, `--debug` | `bool` | | Enable debug logging |
23+
| [`-f`](#file), [`--file`](#file) | `stringArray` | | Build definition file |
24+
| [`--list`](#list) | `string` | | List targets or variables |
25+
| `--load` | `bool` | | Shorthand for `--set=*.output=type=docker` |
26+
| [`--metadata-file`](#metadata-file) | `string` | | Write build result metadata to a file |
27+
| [`--no-cache`](#no-cache) | `bool` | | Do not use cache when building the image |
28+
| [`--print`](#print) | `bool` | | Print the options without building |
29+
| [`--progress`](#progress) | `string` | `auto` | Set type of progress output (`auto`, `quiet`, `plain`, `tty`, `rawjson`). Use plain to show container output |
30+
| [`--provenance`](#provenance) | `string` | | Shorthand for `--set=*.attest=type=provenance` |
31+
| [`--pull`](#pull) | `bool` | | Always attempt to pull all referenced images |
32+
| `--push` | `bool` | | Shorthand for `--set=*.output=type=registry` |
33+
| [`--sbom`](#sbom) | `string` | | Shorthand for `--set=*.attest=type=sbom` |
34+
| [`--set`](#set) | `stringArray` | | Override target value (e.g., `targetpattern.key=value`) |
3535

3636

3737
<!---MARKER_GEN_END-->

0 commit comments

Comments
 (0)