chore: update build cache configuration in build.yaml to use registry #6

Merged
typist merged 2 commits from chore/update-builder-cache into main 2025-10-28 04:10:02 +08:00
Showing only changes of commit 7405f2cb88 - Show all commits

View File

@@ -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