Skip to content

Commit 8967df7

Browse files
mattwalo32ndeloof
authored andcommitted
Apply platform before hashing
Signed-off-by: Matthew Walowski <[email protected]>
1 parent 4f69491 commit 8967df7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cmd/compose/config.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ func runHash(ctx context.Context, dockerCli command.Cli, opts configOptions) err
186186
return err
187187
}
188188

189+
if err := applyPlatforms(project, true); err != nil {
190+
return err
191+
}
192+
189193
if len(services) > 0 {
190194
err = project.ForServices(services, types.IgnoreDependencies)
191195
if err != nil {

0 commit comments

Comments
 (0)