From ea047de1ecae0ef33b6238413857281b9a2cb708 Mon Sep 17 00:00:00 2001 From: ksg Date: Sat, 25 Jan 2025 02:34:24 +0900 Subject: [PATCH] refactor: Add cache scope to build-push-action in ghcr_publish.yml Signed-off-by: ksg --- .github/workflows/ghcr_publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ghcr_publish.yml b/.github/workflows/ghcr_publish.yml index 9bb6183d..48533a86 100644 --- a/.github/workflows/ghcr_publish.yml +++ b/.github/workflows/ghcr_publish.yml @@ -75,5 +75,5 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} platforms: linux/amd64, linux/arm64 - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=gha,scope=${{ matrix.arch }} + cache-to: type=gha,mode=max,scope=${{ matrix.arch }}