chore: move cache for buildx in docker actions (#3117)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2024-03-13 12:02:55 +08:00 committed by GitHub
parent fa9d0f6a48
commit e5e60783fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 1 deletions

View File

@ -29,3 +29,4 @@ jobs:
exclusionPatterns: | exclusionPatterns: |
deploy/helm-charts deploy/helm-charts
manager/console manager/console
client-rs

View File

@ -95,3 +95,11 @@ jobs:
push: true push: true
cache-from: type=local,src=/tmp/.buildx-cache cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new cache-to: type=local,dest=/tmp/.buildx-cache-new
# Temp fix
# https://github.com/docker/build-push-action/issues/252
# https://github.com/moby/buildkit/issues/1896
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache

@ -1 +1 @@
Subproject commit f549bb7eb933e49270e2440815498a96dbcfb612 Subproject commit e8943a1b9df259ccc6f4c21b53a7f581985f2a40