Răsfoiți Sursa

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 2 luni în urmă
părinte
comite
e7aa484b78
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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