Sync from upstream for:
- bugfix: fix save multiple tags single image failed
- tests:
- pidofbuilder do not set when running a new bash script in new child process
- shellcheck fix of common.sh
- add integration tests for saving one image with multiple tags
Signed-off-by: jingxiaolu <lujingxiao@huawei.com>
(cherry picked from commit 16d4ded5e2a8e825013d2b765909f142306746c5)