When using buildkit, using the docker cli frontend, I sometimes do not want to use layer-cache, but do want to rely on the newer mount-cache type.
RUN --mount=type=cache,target=...
However running docker build --no-cache
seemingly disables both.
Is there a way to choose such that only mount-cache is used during a rebuild ?