Browse Source

warn user COMPOSE_BAKE=false is deprecated

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 4 months ago
parent
commit
41a9b91887
1 changed files with 3 additions and 0 deletions
  1. 3 0
      pkg/compose/build_bake.go

+ 3 - 0
pkg/compose/build_bake.go

@@ -58,6 +58,9 @@ func buildWithBake(dockerCli command.Cli) (bool, error) {
 		return false, err
 	}
 	if !bake {
+		if ok {
+			logrus.Warnf("COMPOSE_BAKE=false is deprecated, support for internal compose builder will be removed in next release")
+		}
 		return false, nil
 	}