Преглед изворни кода

fix(publish): in `processFile()`, load the compose file passing the `project.Profiles` to the `loader.Options`.

Signed-off-by: Olivier Goulpeau <[email protected]>
Olivier Goulpeau пре 5 месеци
родитељ
комит
e7aa484b78
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      pkg/compose/publish.go

+ 1 - 0
pkg/compose/publish.go

@@ -221,6 +221,7 @@ func processFile(ctx context.Context, file string, project *types.Project, extFi
 		options.SkipExtends = true
 		options.SkipConsistencyCheck = true
 		options.ResolvePaths = true
+		options.Profiles = project.Profiles
 	})
 	if err != nil {
 		return nil, err