diff --git a/scripts/artifact-publish.mjs b/scripts/artifact-publish.mjs index b23d0650..fd48c686 100644 --- a/scripts/artifact-publish.mjs +++ b/scripts/artifact-publish.mjs @@ -485,7 +485,7 @@ function buildkitCacheArgs(args, cacheRef, registryOption) { if (args.buildCacheMode === "disabled") return []; return [ "--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}` ]; }