Revert "Revert D22360735: .circleci: Build docker images as part of C… (#40950)
Summary:
…I workflow"
This reverts commit 3c6b8a64964b0275884359dd6a5bf484655d8c7c.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/40950
Reviewed By: malfet
Differential Revision: D22909883
Pulled By: seemethere
fbshipit-source-id: 93c070400d7fbe1753f88c3291ab5eba4ab237fa