Skip to content

Commit

Permalink
fix: replace the deprecated property for cleaning up ECR repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmorley committed Apr 25, 2024
1 parent 7a8faa6 commit e33983a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/image-builders/aws-image-builder/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ export class AwsImageBuilderRunnerImageBuilder extends RunnerImageBuilderBase {
imageScanOnPush: true,
imageTagMutability: TagMutability.MUTABLE,
removalPolicy: RemovalPolicy.DESTROY,
autoDeleteImages: true,
emptyOnDelete: true,
});

const dist = new imagebuilder.CfnDistributionConfiguration(this, 'Docker Distribution', {
Expand Down
2 changes: 1 addition & 1 deletion src/image-builders/codebuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class CodeBuildRunnerImageBuilder extends RunnerImageBuilderBase {
imageScanOnPush: true,
imageTagMutability: TagMutability.MUTABLE,
removalPolicy: RemovalPolicy.DESTROY,
autoDeleteImages: true,
emptyOnDelete: true,
lifecycleRules: [
{
description: 'Remove soci indexes for replaced images',
Expand Down

0 comments on commit e33983a

Please sign in to comment.