feat(buildx): add automatic Buildx cleanup for stale builders and end-of-run cache pruning

This commit is contained in:
2026-05-22 13:07:11 +00:00
parent e10c51f6df
commit 7246e28e3e
7 changed files with 350 additions and 2049 deletions
+5
View File
@@ -11,6 +11,11 @@ const buildConfig = async (): Promise<ITsDockerConfig> => {
platforms: ['linux/amd64'],
push: false,
testDir: undefined,
autoCleanup: true,
cleanupOnStart: true,
buildxPruneUntil: '168h',
buildxPruneMaxUsedSpace: '2gb',
removeCiBuilders: true,
});
return config;
};