Skip to content

Commit fc81024

Browse files
ci: use mode=min for docker builder cache to reduce cache size
1 parent 6e6708d commit fc81024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
tags: ${{ steps.meta.outputs.tags }}
6868
labels: ${{ steps.meta.outputs.labels }}
6969
cache-from: type=gha
70-
cache-to: type=gha,mode=max
70+
cache-to: type=gha,mode=min
7171

7272
build-rake-task-matrix:
7373
runs-on: ubuntu-24.04
@@ -121,7 +121,7 @@ jobs:
121121
context: builders/${{ matrix.entry.builder }}
122122
load: true
123123
cache-from: type=gha
124-
cache-to: type=gha,mode=max
124+
cache-to: type=gha,mode=min
125125
- name: Setup builder container
126126
run: |
127127
docker run -dit -v "$GITHUB_WORKSPACE:/home/me/build" -w /home/me/build \

0 commit comments

Comments
 (0)