awslabs / ecr-cleanup-lambda

A script to discover stale ECR images and take action on them with Lambda to help reduce costs.
Other
161 stars 96 forks source link

Added a new flag for strictly ignoring images that have tags matching… #35

Open duydnguyen07 opened 4 years ago

duydnguyen07 commented 4 years ago

… -ignoretagsregex flag.

PR for fixing issue: https://github.com/awslabs/ecr-cleanup-lambda/issues/34

This PR aims to provide an additional flag fo strictly ignoring images that matched the regex defined in -ignoretagsregex. Without this, images with tags that did not all match the regex will still be deleted. See the issue link for more details.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.