Skip to content

Commit e742d09

Browse files
Mohamed-Moumniglours
authored andcommitted
fix: initialize and pass envFiles map in processExtends
Signed-off-by: Mohamed-Moumni <mohamedmoumni593@gmail.com>
1 parent 612b8c5 commit e742d09

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/compose/publish.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ func (s *composeService) createLayers(ctx context.Context, project *types.Projec
197197
func processExtends(ctx context.Context, project *types.Project, extFiles map[string]string) ([]v1.Descriptor, error) {
198198
var layers []v1.Descriptor
199199
moreExtFiles := map[string]string{}
200+
envFiles := map[string]string{}
200201
for xf, hash := range extFiles {
201-
data, err := processFile(ctx, xf, project, moreExtFiles, nil)
202+
data, err := processFile(ctx, xf, project, moreExtFiles, envFiles)
202203
if err != nil {
203204
return nil, err
204205
}

0 commit comments

Comments
 (0)