Skip to content

Commit

Permalink
Merge pull request #594 from dlion/268-stop-deleting-cache-images
Browse files Browse the repository at this point in the history
The platform won't delete cache images
  • Loading branch information
AidanDelaney committed Aug 11, 2023
2 parents 90f73a7 + 5287bef commit 46eedd5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions content/docs/app-developer-guide/using-cache-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,12 @@ pack build localhost:5000/buildpack-examples/second-cache-image-example \
```
<!--+- "{{execute}}"+-->

### Image Retention

Managing the lifecycle of images should be the responsibility of the owner, as `the platform does not automatically clean up old images from the registry`.
You can refer to your registry's documentation to learn how to accomplish this.
* [AWS ECR](https://aws.amazon.com/ecr/) users can find information on how to delete images in the AWS ECR documentation, specifically in the section on [image deletion](https://docs.aws.amazon.com/AmazonECR/latest/userguide/delete_image.html).
* [Docker](https://docs.docker.com/engine/) users can consult the Docker documentation on [Advanced Image Management](https://docs.docker.com/docker-hub/image-management/) to find out how to delete images.


[samples]: https://github.com/buildpack/samples

0 comments on commit 46eedd5

Please sign in to comment.