mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
Apply platform before hashing
Signed-off-by: Matthew Walowski <mattwalowski@gmail.com>
This commit is contained in:
parent
4f694919ff
commit
8967df7a91
@ -186,6 +186,10 @@ func runHash(ctx context.Context, dockerCli command.Cli, opts configOptions) err
|
||||
return err
|
||||
}
|
||||
|
||||
if err := applyPlatforms(project, true); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if len(services) > 0 {
|
||||
err = project.ForServices(services, types.IgnoreDependencies)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user