Skip to content

Commit 7eb4a09

Browse files
committed
ci: use local cache
1 parent 8cc29a2 commit 7eb4a09

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cd.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ jobs:
6363
tags: ${{ steps.meta.outputs.tags }}
6464
labels: ${{ steps.meta.outputs.labels }}
6565
annotations: ${{ steps.meta.outputs.annotations }}
66-
cache-from: type=gha
67-
cache-to: type=gha,mode=max
66+
cache-from: type=local,src=/tmp/.buildx-cache
67+
cache-to: type=local,dest=/tmp/.buildx-cache
6868

6969
- name: Clean Docker cache
7070
if: github.event_name != 'pull_request'
@@ -118,8 +118,8 @@ jobs:
118118
tags: ${{ steps.meta.outputs.tags }}
119119
labels: ${{ steps.meta.outputs.labels }}
120120
annotations: ${{ steps.meta.outputs.annotations }}
121-
cache-from: type=gha
122-
cache-to: type=gha,mode=max
121+
cache-from: type=local,src=/tmp/.buildx-cache
122+
cache-to: type=local,dest=/tmp/.buildx-cache
123123

124124
- name: Clean Docker cache
125125
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)