Skip to content

Add custom lifecycle rules support for ECR repositories #143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ekawas-vrify
Copy link

@ekawas-vrify ekawas-vrify commented May 30, 2025

what

This PR introduces a new variable custom_lifecycle_rules that allows users to define custom ECR lifecycle policies alongside the default ones. This provides greater flexibility in managing ECR repository image retention.

why

The default ECR lifecycle rules work for many cases but don't cover all possible scenarios. Users need more control over image retention policies for specific use cases such as:

  • Custom time-based retention periods for different tag patterns
  • Different treatment for images with specific tags
  • More complex image lifecycle management rules

references

Potentially helps resolve: #92

@ekawas-vrify ekawas-vrify requested review from a team as code owners May 30, 2025 20:32
@ekawas-vrify ekawas-vrify requested review from hans-d and gberenice May 30, 2025 20:32
@mergify mergify bot added the triage Needs triage label May 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Needs triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable lifefycle policy based on "Since imaged pushed"
1 participant