mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
add count rules within docker
This commit is contained in:
parent
92a6624b67
commit
6a89e8fc71
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ resource "aws_ecr_lifecycle_policy" "my_repository_policy" {
|
||||||
selection = {
|
selection = {
|
||||||
tagStatus = "tagged"
|
tagStatus = "tagged"
|
||||||
tagPrefixList = ["prod", "main", "dev"]
|
tagPrefixList = ["prod", "main", "dev"]
|
||||||
|
countType = "imageCountMoreThan"
|
||||||
|
countNumber = 9999
|
||||||
}
|
}
|
||||||
action = {
|
action = {
|
||||||
type = "retain"
|
type = "retain"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue