Skip to content

Commit

Permalink
patch: removing stale packages from ecr
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTech314 committed Nov 26, 2024
1 parent 96467e2 commit 0f822f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
],
Expand Down

0 comments on commit 0f822f6

Please sign in to comment.