Skip to content

Commit 484ab1b

Browse files
committed
docs: remove use of BUILDX_EXPERIMENTAL as example
It was only used to illustrate the concept, so let's use something generic. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 5f704ad commit 484ab1b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/bake-reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ from both the `app-dev` and `_release` targets.
632632
target "app-dev" {
633633
args = {
634634
GO_VERSION = "1.20"
635-
BUILDX_EXPERIMENTAL = 1
635+
ENABLE_DEBUG = 1
636636
}
637637
tags = ["docker.io/username/myapp"]
638638
dockerfile = "app.Dockerfile"
@@ -644,7 +644,7 @@ target "app-dev" {
644644
target "_release" {
645645
args = {
646646
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
647-
BUILDX_EXPERIMENTAL = 0
647+
ENABLE_DEBUG = 0
648648
}
649649
}
650650
@@ -656,7 +656,7 @@ target "app-release" {
656656

657657
When inheriting attributes from multiple targets and there's a conflict,
658658
the target that appears last in the `inherits` list takes precedence.
659-
The previous example defines the `BUILDX_EXPERIMENTAL` argument twice for the `app-release` target.
659+
The previous example defines the `ENABLE_DEBUG` argument twice for the `app-release` target.
660660
It resolves to `0` because the `_release` target appears last in the inheritance chain:
661661

662662
```console
@@ -676,7 +676,7 @@ $ docker buildx bake --print app-release
676676
"dockerfile": "app.Dockerfile",
677677
"args": {
678678
"BUILDKIT_CONTEXT_KEEP_GIT_DIR": "1",
679-
"BUILDX_EXPERIMENTAL": "0",
679+
"ENABLE_DEBUG": "0",
680680
"GO_VERSION": "1.20"
681681
},
682682
"labels": {

0 commit comments

Comments
 (0)