ci: use local cache

This commit is contained in:
Sergey Parfenyuk
2025-03-01 08:26:08 +01:00
parent 8cc29a2ec8
commit 7eb4a09d9a

View File

@@ -63,8 +63,8 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
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
- name: Clean Docker cache
if: github.event_name != 'pull_request'
@@ -118,8 +118,8 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
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
- name: Clean Docker cache
if: github.event_name != 'pull_request'