diff --git a/lib/publishing.ts b/lib/publishing.ts index 6f26f9d5..b8fca7e1 100644 --- a/lib/publishing.ts +++ b/lib/publishing.ts @@ -92,7 +92,7 @@ export class PublishToMavenProject extends Construct implements IPublisher { const forReal = props.dryRun === undefined ? 'false' : (!props.dryRun).toString(); const shellable = new Shellable(this, 'Default', { - platform: new LinuxPlatform(props.buildImage ?? cbuild.LinuxBuildImage.fromDockerRegistry('public.ecr.aws/jsii/superchain:1-bullseye-slim-node18')), + platform: new LinuxPlatform(props.buildImage ?? cbuild.LinuxBuildImage.fromDockerRegistry('public.ecr.aws/jsii/superchain:1-bookworm-slim-node20')), scriptDirectory: path.join(__dirname, 'publishing', 'maven'), entrypoint: 'publish.sh', environment: noUndefined({ @@ -281,7 +281,7 @@ export class PublishToNuGetProject extends Construct implements IPublisher { } const shellable = new Shellable(this, 'Default', { - platform: new LinuxPlatform(props.buildImage ?? cbuild.LinuxBuildImage.fromDockerRegistry('public.ecr.aws/jsii/superchain:1-bullseye-slim-node18')), + platform: new LinuxPlatform(props.buildImage ?? cbuild.LinuxBuildImage.fromDockerRegistry('public.ecr.aws/jsii/superchain:1-bookworm-slim-node20')), scriptDirectory: path.join(__dirname, 'publishing', 'nuget'), entrypoint: 'publish.sh', environment,