File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ from both the `app-dev` and `_release` targets.
632632target "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" {
644644target "_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
657657When inheriting attributes from multiple targets and there's a conflict,
658658the 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.
660660It 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": {
You can’t perform that action at this time.
0 commit comments