From 45844805ec538c8d4ee55aa91818dff9b77debf5 Mon Sep 17 00:00:00 2001 From: Tonis Tiigi Date: Tue, 1 Mar 2022 21:25:36 -0800 Subject: [PATCH] build: remove target context if platform specific used Signed-off-by: Tonis Tiigi --- build/build.go | 1 + 1 file changed, 1 insertion(+) diff --git a/build/build.go b/build/build.go index b6da2fa5..420e9f6c 100644 --- a/build/build.go +++ b/build/build.go @@ -1263,6 +1263,7 @@ func waitContextDeps(ctx context.Context, index int, results *waitmap.Map, so *c so.FrontendAttrs["input-metadata:"+k+"::"+platform] = string(dt) } } + delete(so.FrontendAttrs, v) } if rr.Ref != nil { st, err := rr.Ref.ToState()