fix docker login, add docker image tag list after purge as html (#31328)
Summary:
example of the generated html: http://ossci-docker.s3-website.us-east-1.amazonaws.com/pytorch.html
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31328
Differential Revision: D19147113
Pulled By: mingbowan
fbshipit-source-id: 5104e92d4490f047a6474e2b12aed3293b52a9df