Rules of thumb:

docker mount=type=cache rules

  1. if x in `mount=type=cache,from=x` is updated, the cache is remade