0b32e0ce4f
This PR is tring to fix issue #36996. Currently for multi-stage build, if `--target` specified, the `--label` option will be ignored. The root cause is the last stage build will remove the `LABEL` command(s) node created from the `--label` option. In order to address this issue, we can create `LABEL` command(s) and add it/tem to the last stage. Signed-off-by: Dennis Chen <dennis.chen@arm.com> Upstream-commit: 9c238ebd55e4105ad7f7edc04231ea61bb278ae8 Component: engine