.github: Move calculate-docker-image into build (#65789)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/65789
These common types of jobs can be moved into build since it's typically
a no-op, could be annoying in the future to debug docker builds but
dedicating an entire ephemeral node to a noop seems like a waste to me
Signed-off-by: Eli Uriegas <eliuriegas@fb.com>
Test Plan: Imported from OSS
Reviewed By: malfet, janeyx99
Differential Revision: D31253017
Pulled By: seemethere
fbshipit-source-id: c7b5ea35a57fb1576122df219d387c86e420fd1f