diff --git a/Dockerfile b/Dockerfile index b5ca01fb..87b6293e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,9 @@ RUN echo "int mkl_serv_intel_cpu_true() {return 1;}" > fakeintel.c && \ COPY --from=planner /usr/src/recipe.json recipe.json -RUN cargo chef cook --release --features ort --features candle --features mkl-dynamic --no-default-features --recipe-path recipe.json && sccache -s +RUN --mount=type=secret,id=actions_cache_url,env=ACTIONS_CACHE_URL \ + --mount=type=secret,id=actions_runtime_token,env=ACTIONS_RUNTIME_TOKEN \ + cargo chef cook --release --features ort --features candle --features mkl-dynamic --no-default-features --recipe-path recipe.json && sccache -s COPY backends backends COPY core core