diff --git a/Docker-image-build-on-CircleCI.md b/Docker-image-build-on-CircleCI.md index 7e473ce..29e4573 100644 --- a/Docker-image-build-on-CircleCI.md +++ b/Docker-image-build-on-CircleCI.md @@ -18,6 +18,10 @@ New images will automatically be passed down through to dependent jobs. [http://docker.pytorch.org](http://docker.pytorch.org/) which will be updated hourly +### How to docker pull the docker images? +Note that the docker images are built within a private AWS ECR repository, the detailed instruction of how to pull those images can be found here: https://github.com/pytorch/ossci-job-dsl#ci-failed-but-my-local-build-is-fine-what-should-i-do. + + ### How do we purge old images / what’s the retention policy? We have ecr_gc_job job (you can search for it in config.yml) that runs every hour to purge old images. Currently, we need temporary images for 1 day, and weekly builds for 2 weeks. And we will keep image with tags defined in https://github.com/pytorch/pytorch/blob/master/.circleci/verbatim-sources/workflows-ecr-gc.yml#L13 forever. @@ -78,4 +82,4 @@ Note this instruction provides guidance to add a new **base** docker image. If y - **WAIT UNTIL ALL BUILD JOBS TO FINISH** and make sure all new images have been uploaded. Save the tag of the new images. - Run regenerated.sh with the new tag and update your PR. -See an example PR https://github.com/pytorch/pytorch/pull/36187 \ No newline at end of file +See an example PR https://github.com/pytorch/pytorch/pull/36187