From 0071f6f985015e4376671bbf5790e06009d0c9ed Mon Sep 17 00:00:00 2001 From: Julien Castets Date: Tue, 29 Oct 2024 15:20:41 +0100 Subject: [PATCH] Attempt to speedup build with cache-from and cache-to --- .github/workflows/main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e077efa..2296040 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -25,6 +25,8 @@ jobs: push: true file: Dockerfile.bundled_model tags: koyeb/bundled-meta-llama-llama-3.1-8b:latest + cache-from: type=registry,ref=koyeb/bundled-meta-llama-llama-3.1-8b:latest + cache-to: type=inline build-args: | MODEL_NAME=meta-llama/Llama-3.1-8B HF_TOKEN=${{ secrets.HUGGINGFACE_TOKEN }}