fix: 修复ci缓存导致的错误
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 4m46s

This commit is contained in:
2026-02-24 17:07:48 +08:00
parent 42c2fb4ce3
commit fdd1d0c17b

View File

@@ -63,8 +63,9 @@ jobs:
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64 platforms: linux/amd64
provenance: false provenance: false
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache # 禁用 buildcache 以避免 413 错误
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max # cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
# cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
- name: Show image tags - name: Show image tags
run: | run: |