This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.8.5.2.3. No Cache
Docker 构建通常重复使用执行构建的主机上找到的缓存层。将 noCache
选项设置为 true 会强制构建忽略缓存的层并重新运行 Dockerfile 的所有步骤:
strategy: dockerStrategy: noCache: true
strategy:
dockerStrategy:
noCache: true