From 3b97ea7d0270adba93d47a1b5dd87d29077be118 Mon Sep 17 00:00:00 2001 From: nacho Date: Thu, 5 Oct 2023 12:37:36 +0200 Subject: [PATCH] set shared cache --- rust/Earthfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/Earthfile b/rust/Earthfile index 8501af2..8ae172e 100644 --- a/rust/Earthfile +++ b/rust/Earthfile @@ -11,8 +11,8 @@ CARGO: ARG --required args ARG output DO +REMOVE_SOURCE_FINGERPRINTS - RUN --mount=type=cache,mode=0777,target=$CARGO_HOME/registry \ - --mount=type=cache,mode=0777,target=$CARGO_HOME/git \ + RUN --mount=type=cache,mode=0777,sharing=shared,target=$CARGO_HOME/registry \ + --mount=type=cache,mode=0777,sharing=shared,target=$CARGO_HOME/git \ --mount=type=cache,mode=0777,target=target \ cargo $args; IF [ "$output" != "" ]