fix(ci): 移除构建脚本中docker driver不支持的--cache-to导出 #302
Reference in New Issue
Block a user
Delete Branch "fix/build-cache-to-driver"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
Build & Push Staging 失败,报错:
Runner 使用的是默认 docker driver,不支持
--cache-to导出缓存到 registry。修复
移除 API/Worker/Web 三段直接构建中的
--cache-to参数,只保留--cache-from读取缓存。build_with_cache函数中的缓存导出逻辑不变(通过CACHE_WRITE变量控制,默认为0即不写回)。b9c792013cto0444be9c6d