From 0f822f6fb02b5f08320982ca209a9d0517037484 Mon Sep 17 00:00:00 2001 From: AlexTech314 Date: Tue, 26 Nov 2024 18:43:54 -0500 Subject: [PATCH] patch: removing stale packages from ecr --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 57848e2..b7c78f3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -70,8 +70,8 @@ export class TokenInjectableDockerBuilder extends Construct { lifecycleRules: [ { rulePriority: 1, - description: 'Remove untagged images after 30 days', - tagStatus: TagStatus.UNTAGGED, + description: 'Remove stale images', + tagStatus: TagStatus.ANY, maxImageAge: Duration.days(1), }, ],