Skip to content

Commit b006e0f

Browse files
authored
Merge pull request #3474 from crazy-max/doc-fix-bake-set
docs: fix bake set flag note
2 parents abf6ab4 + 399af8e commit b006e0f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/reference/buildx_bake.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -412,9 +412,10 @@ $ docker buildx bake --set target.platform+=linux/arm64 # appends 'linux/arm64'
412412

413413
> [!NOTE]
414414
>
415-
> `--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.
416-
> Array literal syntax like `--set target.tags=[a,b]` is not supported.
417-
> The `platform` field is a special case. It also accepts a comma-separated list.
415+
> `--set` is a repeatable flag. For array fields such as `tags`, repeat `--set`
416+
> to provide multiple values or use the `+=` operator to append without
417+
> replacing. Array literal syntax like `--set target.tags=[a,b]` is not
418+
> supported.
418419
419420
You can override the following fields:
420421

0 commit comments

Comments
 (0)