From 7eb4a09d9a0a1e4a5339a31af17f6fe7b45562f4 Mon Sep 17 00:00:00 2001 From: Sergey Parfenyuk Date: Sat, 1 Mar 2025 08:26:08 +0100 Subject: [PATCH] ci: use local cache --- .github/workflows/cd.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 4239ba2..3d28f62 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -63,8 +63,8 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} annotations: ${{ steps.meta.outputs.annotations }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - name: Clean Docker cache if: github.event_name != 'pull_request' @@ -118,8 +118,8 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} annotations: ${{ steps.meta.outputs.annotations }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - name: Clean Docker cache if: github.event_name != 'pull_request'