FIX CACHE
CI / Build binary CI (push) Has been cancelled Details

This commit is contained in:
huoxue 2024-05-12 00:28:06 +08:00
parent 20fa20a4ee
commit 9146fbe1f5
1 changed files with 6 additions and 2 deletions

View File

@ -89,10 +89,14 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
shm-size: 2g
ulimit: core=0:0
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache