From f900d4819e37eef8f68365f4904b6a828ebab39f Mon Sep 17 00:00:00 2001 From: Roy Xiang Date: Tue, 30 Jul 2024 10:01:00 +0800 Subject: [PATCH] fix(build): set cache with a platform scope --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 23a479c..8aebb8a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,5 +51,5 @@ jobs: platforms: ${{ matrix.platform }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=gha,scope=buildkit-${{ matrix.platform }} + cache-to: type=gha,mode=max,scope=buildkit-${{ matrix.platform }}