mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 00:47:48 +08:00

Previously, we would fail while trying to use the global "target" field when using a matrix. The contents of the matrix really don't matter for this. What was happening was that we would copy the "target" property into the child evaluation context, so that when it was updated on the parent, it wouldn't propagate to the child. The correct behavior here is to avoid copying variables from the target evaluation context if it is the root. Signed-off-by: Justin Chadwell <me@jedevc.com>