This ensures that the final BuildResult is the actual tagged image. Fixes #33822. Signed-off-by: Ian Campbell <ian.campbell@docker.com> Upstream-commit: 9777ec3be0e3056d0bedcf36052704f832e45759 Component: engine