From 7405f2cb88dc84c29f2dda142c8eb397eaf25026 Mon Sep 17 00:00:00 2001 From: typist Date: Tue, 28 Oct 2025 04:05:02 +0800 Subject: [PATCH] chore: update build cache configuration in build.yaml to use registry --- .gitea/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 5b76bce..bde2ad8 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -42,8 +42,8 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=local,src=/cache - cache-to: type=local,dest=/cache,mode=max + cache-from: type=registry,ref=${{ secrets.REGISTRY_ENDPOINT }}/${{ github.repository_owner }}/litek:buildcache + cache-to: type=registry,ref=${{ secrets.REGISTRY_ENDPOINT }}/${{ github.repository_owner }}/litek:buildcache,mode=max # platforms: linux/amd64,linux/arm64 platforms: linux/amd64