Skip to content

Commit e5334d6

Browse files
author
Domenico Luciani
committed
Add a subsection and a note to warn the user that the cache won't be clean up by the platform
Signed-off-by: Domenico Luciani <[email protected]>
1 parent ddfcca0 commit e5334d6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

content/docs/app-developer-guide/using-cache-image.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,11 @@ pack build localhost:5000/buildpack-examples/second-cache-image-example \
8585
```
8686
<!--+- "{{execute}}"+-->
8787

88+
### Images retention
89+
90+
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`.
91+
You can refer to your registry's documentation to learn how to accomplish this.
92+
For example, if you are using [AWS ECR](https://aws.amazon.com/ecr/), you 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).
93+
94+
8895
[samples]: https://github.com/buildpack/samples

0 commit comments

Comments
 (0)