Skip to content

Commit b28115a

Browse files
authored
perf(GHA): Perform more caching, as the Dockerfile does multi-stage builds (#632)
Related: #627
1 parent b8ebfcc commit b28115a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/deploy-master.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
pull: true
4242
push: true
4343
cache-from: "type=gha"
44-
cache-to: "type=gha,mode=min"
44+
cache-to: "type=gha,mode=max"
4545
tags: "ocamlsf/learn-ocaml:master"
4646
platforms: "linux/amd64,linux/arm64/v8"
4747
labels: |
@@ -87,7 +87,7 @@ jobs:
8787
# load: true # implied by "driver: docker"
8888
push: true
8989
cache-from: "type=gha"
90-
cache-to: "type=gha,mode=min"
90+
cache-to: "type=gha,mode=max"
9191
target: client
9292
tags: "ocamlsf/learn-ocaml-client:master"
9393
platforms: "linux/amd64,linux/arm64/v8"

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ jobs:
125125
pull: true
126126
push: true
127127
cache-from: "type=gha"
128-
cache-to: "type=gha,mode=min"
128+
cache-to: "type=gha,mode=max"
129129
tags: |
130130
ocamlsf/learn-ocaml:latest
131131
ocamlsf/learn-ocaml:${{ steps.tag.outputs.tag }}
@@ -177,7 +177,7 @@ jobs:
177177
# load: true # implied by "driver: docker"
178178
push: true
179179
cache-from: "type=gha"
180-
cache-to: "type=gha,mode=min"
180+
cache-to: "type=gha,mode=max"
181181
target: client
182182
tags: |
183183
ocamlsf/learn-ocaml-client:latest

0 commit comments

Comments
 (0)