CrazyMax
b6e1b7328f
build: gate local delete outputs
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2026-06-10 16:41:10 +02:00
CrazyMax and CrazyMax
473c6ef306
bake: requires explicit allow for local output delete mode
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2026-06-10 16:41:09 +02:00
CrazyMax
da8fa45c1c
bake: global policy evaluation options
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2026-05-07 11:11:59 +02:00
rishabh
0dede5c898
docs: add example for --list=variables with variable descriptions
...
Signed-off-by: rishabh <rishank69@gmail.com >
2026-03-23 12:04:02 +08:00
Tonis Tiigi
c5322ca727
bake: add --var flag for setting variable values
...
This provides alternative way to set values for Bake
variables without adding them the global environment variables.
This can also be used then environment variable access
is disabled with BUILDX_BAKE_DISABLE_VARS_ENV_LOOKUP.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2026-01-15 23:17:28 -08:00
CrazyMax
9173ef69ec
docs: named contexts override with bake
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2025-11-28 15:05:47 +01:00
CrazyMax
399af8eeb9
docs: fix bake set flag note
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2025-10-17 13:17:56 +02:00
aevesdocker
7e67a00323
docs: update --set
...
Signed-off-by: aevesdocker <allie.sadler@docker.com >
2025-10-14 10:20:07 +01:00
Tonis Tiigi
9c7b9628ef
add progress=none option
...
Currently there is no way to completely suppress the progress output.
We have --progress=quiet but it has additional effect of printing
image ID as a progress for historical reasons. --progress=none
behaves like quiet but without this extra output printing depending
on build output.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2025-09-22 10:10:20 -07:00
CrazyMax and GitHub
e540b7af14
Merge pull request #3421 from aevesdocker/ENGDOCS-2992
...
docs: --load flag clarity
2025-09-11 17:03:37 +02:00
aevesdocker
05c6753bb7
docs: --load and --push flag clarity
...
Signed-off-by: aevesdocker <allie.sadler@docker.com >
2025-09-11 14:41:22 +01:00
aevesdocker
9d8107ee3d
docs: device entitlements
...
Signed-off-by: aevesdocker <allie.sadler@docker.com >
2025-09-11 10:25:49 +01:00
CrazyMax
264c8f9f3d
docs: missing call as override field
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2025-07-30 13:01:23 +02:00
Roberto Villarreal
cb54ddb9fe
Allow bake files to be specified via environment variable
...
The environment variable `BUILDX_BAKE_FILE` (and optional variable
`BUILDX_BAKE_FILE_SEPARATOR`) can be used to specify one or more bake
files (similar to `compose`). This is mutually exclusive with`--file`
(which takes precedence).
This is done very early to ensure the values are treated just like
`--file`, e.g., participate in telemetry. This includes leaving
relative paths as-is, which deviates from `compose` (which makes them
absolute).
Signed-off-by: Roberto Villarreal <rrjjvv@yahoo.com >
2025-06-16 00:08:54 -06:00
CrazyMax
b514ed45fb
bake: extra-hosts support
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2025-06-11 19:38:01 +02:00
Roberto Villarreal
b40b2caf1a
Show types during variable list operation
...
If a type was explicitly provided, it will be displayed in the variable
listing. Inferred type names are not displayed, as they likely would
not match the user's intent.
Previously only `string` and `bool` default values were displayed in the
listing. All default values, regardless of type, are now displayed.
Signed-off-by: Roberto Villarreal <rrjjvv@yahoo.com >
2025-05-29 17:36:46 -06:00
CrazyMax
4c6eba5acd
bake: support += operator to append with overrides
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2025-03-04 13:29:41 +01:00
Jonathan A. Sternberg
d6fdf83f45
bake: allow annotations to be set on the command line
...
Annotations were not merged correctly. The overrides in `ArrValue` would
be merged, but the section of code setting them from the command line
did not include `annotations` in the list of available attributes so the
command line option was completely discarded.
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com >
2025-02-14 11:57:30 -06:00
David Karlsson and CrazyMax
012df71b63
docs: add docs for bake --allow
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2025-01-22 18:25:32 +01:00
CrazyMax
ac636fd2d8
docs: missing quiet progress mode
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2025-01-13 15:13:18 +01:00
David Karlsson
e36535e137
docs: add description for bake --list
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2025-01-13 11:48:21 +01:00
CrazyMax
a41fc81796
bake: replace list-targets and list-variables flags with list=<type>
...
also put this flag out of experimental
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2025-01-09 17:07:05 +01:00
Tõnis Tiigi and GitHub
f369377d74
Merge pull request #2666 from tonistiigi/bake-entitlements
...
bake: enable support for entitlements
2024-09-03 10:49:48 -07:00
David Karlsson
f77866f5b4
docs: update links to moved manuals pages
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-09-03 10:27:46 +02:00
Tonis Tiigi
203fd8aee5
bake: enable support for entitlements
...
Add support for security.insecure and network.host
entitlements via bake. User needs to confirm elevated
privileges through a prompt or CLI flags.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-08-30 09:33:28 -07:00
CrazyMax and GitHub
dc7f679ab1
Merge pull request #2660 from tonistiigi/debug-flag-cmds
...
commands: add debug as persistent flag
2024-08-22 17:33:06 +02:00
Tonis Tiigi
7a7a9c8e01
commands: add debug as persistent flag
...
Allows using `--debug` to enable debug logging under
any subcommand. Currently it needed to be set as
`docker --debug buildx` meaning only way to enable debug
in standalone mode was to set env variable instead and
updating existing commands to add `--debug` was cumbersome.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-08-16 13:20:28 +03:00
David Karlsson
fa8f859159
docs: use gh alert syntax for callouts
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-08-16 11:08:03 +02:00
CrazyMax
6bbe59697a
docs: link to build ref page for --call and --check ref with bake
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-07-03 20:19:56 +02:00
CrazyMax and Tonis Tiigi
153e5ed274
mark list-targets and list-variables as hidden and experimental
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-07-03 09:54:09 -07:00
Tonis Tiigi
35313e865f
bake: add tests for call and list
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-07-03 09:54:03 -07:00
David Karlsson
263a9ddaee
chore: regenerate docs
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-07-03 11:48:11 +02:00
CrazyMax and CrazyMax
f7bcafed21
build: opt to set progress warnings in response
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-06-26 06:53:35 +02:00
David Karlsson and CrazyMax
1e3aec1ae2
docs: mention rawjson progress output mode
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2024-06-06 16:51:42 +02:00
CrazyMax
2e2f9f571f
build: set record provenance in response
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-04-11 10:11:27 +02:00
CrazyMax
dc4b4c36bd
bake: load override
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com >
2024-04-05 13:03:15 +02:00
David Karlsson
7a724ac445
docs: minor cli reference editorial updates
...
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com >
2023-11-16 16:05:38 +01:00
David Karlsson and Justin Chadwell
f8483d7243
docs: refactor bake file reference
...
Signed-off-by: David Karlsson <david.karlsson@docker.com >
2023-05-11 12:54:08 +01:00
Justin Chadwell
4903f462f6
docs: add reference for new attest family of flags
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2023-01-17 11:45:38 +00:00
David Karlsson
ba8fa6c403
docs: fix broken link in buildx_bake CLI reference
...
Signed-off-by: David Karlsson <david.karlsson@docker.com >
2023-01-13 15:33:31 +01:00
Sebastiaan van Stijn
c97500b117
go.mod: update cli-docs-tool v0.5.1 and re-generate docs
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2023-01-09 13:03:01 +01:00
Justin Chadwell
25aa893bad
bake: add attests field
...
Signed-off-by: Justin Chadwell <me@jedevc.com >
2022-12-07 18:44:21 +00:00
CrazyMax
6b8289d68e
docs: update links to new docs
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-09-14 13:36:51 +02:00
CrazyMax and GitHub
ec1ba14f3e
Merge pull request #1215 from crazy-max/docs-fix-bake-fields
...
docs(bake): fix target fields and show type
2022-07-27 13:42:39 +02:00
CrazyMax
1324827cd5
docs(bake): fix target fields and show type
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-27 13:13:32 +02:00
CrazyMax
dd445e5f9b
docs: update cli-docs-tool to v0.5.0
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-26 19:39:04 +02:00
CrazyMax
20022fd441
docs(guide): color output controls
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-07-23 02:57:02 +02:00
CrazyMax
ebd7d062bf
docs: bake guides and refactor reference
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-06-05 18:48:09 +02:00
CrazyMax
94c5dde85a
docs: small fixes
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-02-26 05:39:42 +01:00
CrazyMax
9867ca279a
docs: update cli-docs-tool to v0.4.0
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com >
2022-02-25 15:41:17 +01:00