Fix full Android builds (take 2)
Preserve container IDs from individual build runs and reuse them in final packaging step
Get rid of redundant `chown` steps in build-final and publish stages
Tested in: https://github.com/pytorch/pytorch/runs/5699505616?check_suite_focus=true
Pull Request resolved: https://github.com/pytorch/pytorch/pull/74647
Approved by: https://github.com/atalman