Skip to content

Commit e7aa484

Browse files
ogoulpeau-ledgerndeloof
authored andcommitted
fix(publish): in processFile(), load the compose file passing the project.Profiles to the loader.Options.
Signed-off-by: Olivier Goulpeau <[email protected]>
1 parent ae3309a commit e7aa484

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/compose/publish.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,7 @@ func processFile(ctx context.Context, file string, project *types.Project, extFi
221221
options.SkipExtends = true
222222
options.SkipConsistencyCheck = true
223223
options.ResolvePaths = true
224+
options.Profiles = project.Profiles
224225
})
225226
if err != nil {
226227
return nil, err

0 commit comments

Comments
 (0)