From 02a4af9dad9ffc15466f2df3fd4d276118e40eeb Mon Sep 17 00:00:00 2001 From: jarvis2f <137974272+jarvis2f@users.noreply.github.com> Date: Fri, 7 Feb 2025 16:13:51 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9A=99=EF=B8=8F=20chore:=20Update=20Docker?= =?UTF-8?q?=20publish=20workflow=20to=20use=20GitHub=20Action=20cache.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 80fe211..be1b055 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -63,8 +63,8 @@ jobs: platforms: ${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true - cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-${{ matrix.platform_tag }} - cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-${{ matrix.platform_tag }},mode=max + cache-from: type=gha,scope=build-${{ matrix.platform_tag }} + cache-to: type=gha,scope=build-${{ matrix.platform_tag }},mode=max - name: Export digest run: |