docs: fix bake set flag note

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2025-10-17 13:17:56 +02:00
parent 40828e6363
commit 399af8eeb9
+4 -3
View File
@@ -412,9 +412,10 @@ $ docker buildx bake --set target.platform+=linux/arm64 # appends 'linux/arm64'
> [!NOTE]
>
> `--set` is a repeatable flag. For array fields such as `tags`, repeat `--set` to provide multiple values or use the `+=` operator to append without replacing.
> Array literal syntax like `--set target.tags=[a,b]` is not supported.
> The `platform` field is a special case. It also accepts a comma-separated list.
> `--set` is a repeatable flag. For array fields such as `tags`, repeat `--set`
> to provide multiple values or use the `+=` operator to append without
> replacing. Array literal syntax like `--set target.tags=[a,b]` is not
> supported.
You can override the following fields: