From 04f3b1c93e6f27c89ad3f3744e7d3dc6f2767f17 Mon Sep 17 00:00:00 2001 From: OlivierDehaene <23298448+OlivierDehaene@users.noreply.github.com> Date: Tue, 31 Jan 2023 20:06:00 +0100 Subject: [PATCH] add caching --- .github/workflows/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a6920981..09b5b5f2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -53,4 +53,6 @@ jobs: push: ${{ github.event_name != 'pull_request' }} platforms: 'linux/amd64' tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=registry,ref=ghcr.io/huggingface/text-generation-inference:latest + cache-to: type=inline \ No newline at end of file