Commit Graph
425 Commits
Author SHA1 Message Date
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
CrazyMaxandCrazyMax 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
Jiří Moravčík 80b2293881 build: Add per-step CPU and memory resource limits
Port of moby/buildkit#6569 to buildx. Adds --memory, --memory-swap,
--cpu-shares, --cpu-period, --cpu-quota, --cpuset-cpus, and --cpuset-mems
flags to build, plus the equivalent bake target attributes and compose
x-bake fields.

Signed-off-by: Jiří Moravčík <jiri.moravcik@gmail.com>
2026-06-08 15:39:14 +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
CrazyMax 92905a8f5a bake: support unix output in formattimestamp
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-25 11:59:24 +01:00
CrazyMax 2798e134e9 bake: add formattimestamp and tighten unix timestamp parsing
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-25 11:46:49 +01:00
CrazyMax 11395747a6 bake: add unixtimestampparse function
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-25 11:46:48 +01:00
Tõnis TiigiandGitHub 7ac8168016 Merge pull request #3738 from tonistiigi/policy-eval-upt
Updated for policy eval
2026-03-24 17:08:04 -07:00
Tõnis TiigiandGitHub be5de2c200 Merge pull request #3736 from jsternberg/dap-general-availability
dap: make dap generally available
2026-03-24 17:07:38 -07:00
Tonis Tiigi 64cd4136d9 policy: support reading policy from stdin via --file -
Allow passing policy content through stdin by specifying
"--file -" in the eval command. This enables piping policy
data without requiring a file on disk.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-03-23 11:13:46 -07:00
Jonathan A. Sternberg a8d359a9ca dap: make dap generally available
Removes the experimental flags and bits for dap and deletes some dead
code that somehow made its way this far without anyone noticing.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2026-03-23 10:43:27 -05: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
rishabh 8bcf041190 docs: clarify Bake environment variable override behavior
Signed-off-by: rishabh <rishank69@gmail.com>

docs: address review feedback on bake env lookup

Signed-off-by: rishabh <rishank69@gmail.com>
2026-03-18 22:51:13 +08:00
CrazyMaxandGitHub 7bc8c698b4 Merge pull request #3665 from crazy-max/builder-timeout
commands: make builder status timeouts configurable across cli flows
2026-02-24 18:35:17 +01:00
CrazyMax f4cc8638c0 commands: make builder status timeouts configurable across cli flows
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-02-24 17:54:12 +01:00
Akhil ManojandCrazyMax 1f69c574eb Docs: update --file flag to clarify input options
Expand the buildx build doc to include details on the supported input
options for the --file flag: local file path, remote URL, and stdin. Add
examples for each input type to enhance user understanding.

Signed-off-by: Akhil Manoj <akhil.manoj2003@gmail.com>
Signed-off-by: Akhil Manoj <manoja2@vcu.edu>
2026-02-23 11:34:38 +01:00
Tõnis TiigiandGitHub bcb8583078 Merge pull request #3638 from crazy-max/imagetools-create-digest
imagetools: metadata-file flag
2026-02-11 10:59:38 -08:00
CrazyMax a2f3c6a1b8 imagetools: metadata-file flag
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-02-10 13:52:00 +01:00
Sebastiaan van Stijn 76355684bc docs: fix typo
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-02-08 18:13:50 +01:00
Tonis Tiigi d0e4db27e0 commands: remove policy json-schema stub
Remove stub for now so we don't ship it in a release.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-16 12:48:46 -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
Tonis Tiigi c6ecdc08cf commands: implement policy test command
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-14 10:31:12 -08:00
Tonis Tiigi 9f1daffb32 policy: implement policy support for bake
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-14 09:34:23 -08:00
Tonis Tiigi 5ad09ce3eb commands: implement policy eval command
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-14 09:10:33 -08:00
Paweł Gronowski 41a1782b35 build: Don't unpack by default when pushing
Automatically set `unpack=false` for registry exports unless explicitly
overridden by the user.

This applies to:

- `registry` exporter type (converted to `image` exporter with `push=true`)
- `--push` flag usage with image exporters

Users can still explicitly set `unpack=true` if they need local image
storage alongside registry push.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2026-01-14 16:04:45 +01:00
Tonis Tiigi c5154b3169 update linters for go1.25 base version
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2026-01-09 18:54:15 -08:00
CrazyMax 3836aeb949 bake: add semvercmp func to stdlib
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-01-06 09:34:10 +01: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
David Karlsson 8f883df6de docs: remove unnecessary custom anchors and heading in bake stdlib
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2025-11-17 11:20:01 +01:00
Justin Chadwell a516d3fb37 docs: document using build contexts to override syntax directive
Signed-off-by: Justin Chadwell <me@jedevc.com>
2025-11-11 16:15:47 +00:00
Roberto Castellotti 7253a04b2a docs: fix typo in bake reference
Signed-off-by: Roberto Castellotti <me@rcastellotti.dev>
2025-10-30 19:06:20 +01:00
Tõnis TiigiandGitHub 805c377292 Merge pull request #3454 from jsternberg/buildx-tag-help
docs: clarify cli help for the `--tag` option
2025-10-23 12:11:33 -07: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
Remy Suen 7898cee6b5 Correct no-cache attribute to be a boolean
The documentation is incorrect because no-cache needs to be a boolean.

Signed-off-by: Remy Suen <remy.suen@docker.com>
2025-10-16 17:06:43 -04:00
aevesdocker 7e67a00323 docs: update --set
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-10-14 10:20:07 +01:00
Jonathan A. Sternberg ec01355b03 docs: clarify cli help for the --tag option
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-10-06 12:46:59 -05:00
CrazyMaxandGitHub c7b50dcca3 Merge pull request #3435 from aevesdocker/ENGDOCS-2996
Docs: examples for each bake standard library functions
2025-10-01 12:46:39 +02:00
aevesdocker d41f79f9a1 Docs: examples for each bake standard library functions
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-10-01 11:25:33 +01:00
Tõnis TiigiandGitHub 40f318f9d8 Merge pull request #3431 from tonistiigi/progress-none
add progress=none option
2025-09-23 11:33:37 -07:00
Tõnis TiigiandGitHub 568c693972 Merge pull request #3430 from tonistiigi/imagetools-create-platforms
imagetools: add platforms filter to imagetools create
2025-09-23 08:47:52 -07:00
Tonis Tiigi f448f3e22b imagetools: add platforms filter to imagetools create
Allows specifying platforms that should be included
in the new image, making it possible to reduce platforms
of existing multi-arch image. Previously the individual
image manifests needed to be used as sources, but that
dropped their related attestation manifests.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2025-09-23 08:10:11 -07:00
Jonathan A. Sternberg 39feed47ea docs: add plugin guideline requirements for dap plugins
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
2025-09-22 12:13:15 -05: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
CrazyMaxandGitHub 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
CrazyMaxandGitHub 3293a2ef41 Merge pull request #3419 from aevesdocker/ENGDOCS-2986
docs: device entitlements
2025-09-11 13:55:17 +02:00
aevesdocker 9d8107ee3d docs: device entitlements
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-09-11 10:25:49 +01:00
aevesdocker 983716a198 grammar
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-09-10 15:22:41 +01:00
aevesdocker 2b991cb800 docs: add variable attribute
Signed-off-by: aevesdocker <allie.sadler@docker.com>
2025-09-10 15:19:41 +01:00
Tõnis TiigiandGitHub d873cae872 Merge pull request #3392 from crazy-max/docs-du-filter
docs: list available filters for du and prune commands
2025-08-29 15:05:35 -07:00