From bc3cf81be02eda0834e577e43a16be84fc3f7b48 Mon Sep 17 00:00:00 2001 From: v-chen_data Date: Mon, 21 Oct 2024 11:19:38 -0700 Subject: [PATCH] add scope --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8fab6ed697..94868d47fd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -62,8 +62,8 @@ jobs: tags: | ${{ env.DOCKER_TAG }} ${{ env.DOCKER_LATEST_TAG }} - cache-from: type=registry,ref=${{ env.IMAGE_CACHE }} - cache-to: type=registry,ref=${{ env.IMAGE_CACHE }} + cache-from: type=registry,ref=${{ env.IMAGE_CACHE }},scope=global + cache-to: type=registry,ref=${{ env.IMAGE_CACHE }},mode=max,scope=global build-args: | BRANCH_NAME=${{ github.ref_name }} BASE_IMAGE=${{ matrix.base_image }}