From ba4a9980e2cd13c7b927ef4faed7cf1537ba194c Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Thu, 25 Feb 2021 19:13:32 -0300 Subject: [PATCH] Take `platform` in account on pulling the images Signed-off-by: Ulysses Souza --- local/compose/pull.go | 1 + 1 file changed, 1 insertion(+) diff --git a/local/compose/pull.go b/local/compose/pull.go index dd66bf0e5..9c4772fe0 100644 --- a/local/compose/pull.go +++ b/local/compose/pull.go @@ -96,6 +96,7 @@ func (s *composeService) Pull(ctx context.Context, project *types.Project) error stream, err := s.apiClient.ImagePull(ctx, service.Image, moby.ImagePullOptions{ RegistryAuth: base64.URLEncoding.EncodeToString(buf), + Platform: service.Platform, }) if err != nil { w.Event(progress.Event{