From fb5e1393a449e1c25e3878ac782ac6ad13e6810d Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Thu, 11 Aug 2022 18:45:08 -0700 Subject: [PATCH] commands: use buildx env for experimental opt-in Signed-off-by: Tonis Tiigi --- commands/build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/build.go b/commands/build.go index 50520874..9321c2e2 100644 --- a/commands/build.go +++ b/commands/build.go @@ -701,7 +701,7 @@ func (w *wrapped) Unwrap() error { } func isExperimental() bool { - if v, ok := os.LookupEnv("BUILDKIT_EXPERIMENTAL"); ok { + if v, ok := os.LookupEnv("BUILDX_EXPERIMENTAL"); ok { vv, _ := strconv.ParseBool(v) return vv }