Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我更改容器构建映像时,我希望我的缓存失效。这会自动发生还是我需要将缓存键与构建容器映像结合起来?
从支持票:
如果您使用的是新的容器构建映像,则不应使用旧缓存(因为它无关紧要),并且将创建一个新缓存。当然,旋转缓存键也将确保一个新的缓存。