fix: 将 BuildKit 缓存导出降为非阻塞
This commit is contained in:
@@ -485,7 +485,7 @@ function buildkitCacheArgs(args, cacheRef, registryOption) {
|
|||||||
if (args.buildCacheMode === "disabled") return [];
|
if (args.buildCacheMode === "disabled") return [];
|
||||||
return [
|
return [
|
||||||
"--import-cache", `type=registry,ref=${cacheRef}${registryOption}`,
|
"--import-cache", `type=registry,ref=${cacheRef}${registryOption}`,
|
||||||
"--export-cache", `type=registry,ref=${cacheRef},mode=max${registryOption}`
|
"--export-cache", `type=registry,ref=${cacheRef},mode=max,ignore-error=true${registryOption}`
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user