Parcourir la source

Merge pull request #8889 from ndeloof/build_args_classic

restore support for multiple build-args
Mathieu Champlon il y a 4 ans
Parent
commit
e6599c7213
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      pkg/compose/build_classic.go

+ 1 - 0
pkg/compose/build_classic.go

@@ -243,6 +243,7 @@ func imageBuildOptions(options buildx.Options) dockertypes.ImageBuildOptions {
 func toMapStringStringPtr(source map[string]string) map[string]*string {
 	dest := make(map[string]*string)
 	for k, v := range source {
+		v := v
 		dest[k] = &v
 	}
 	return dest