mirror of https://github.com/docker/buildx.git
				
				
				
			Merge pull request #981 from tonistiigi/target-context-remove
build: remove target context if platform specific used
This commit is contained in:
		
						commit
						2d5368cccc
					
				|  | @ -1267,6 +1267,7 @@ func waitContextDeps(ctx context.Context, index int, results *waitmap.Map, so *c | ||||||
| 					so.FrontendAttrs["input-metadata:"+k+"::"+platform] = string(dt) | 					so.FrontendAttrs["input-metadata:"+k+"::"+platform] = string(dt) | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
|  | 			delete(so.FrontendAttrs, v) | ||||||
| 		} | 		} | ||||||
| 		if rr.Ref != nil { | 		if rr.Ref != nil { | ||||||
| 			st, err := rr.Ref.ToState() | 			st, err := rr.Ref.ToState() | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue