Skip to content

Commit ef6d7ce

Browse files
authored
Cache Docker layers (#211)
1 parent 9581c10 commit ef6d7ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
name: Set up Docker Buildx
5656
uses: docker/setup-buildx-action@v3
5757
with:
58-
version: v0.12.0
58+
version: latest
5959
env:
6060
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
6161
-
@@ -77,6 +77,8 @@ jobs:
7777
labels: ${{ steps.meta.outputs.labels }}
7878
annotations: ${{ steps.meta.outputs.annotations }}
7979
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.ACCOUNT }}/${{ matrix.image }},push-by-digest=true,name-canonical=true,push=true
80+
cache-from: type=gha
81+
cache-to: type=gha,mode=max
8082
-
8183
name: Export digest
8284
run: |
@@ -119,7 +121,7 @@ jobs:
119121
name: Set up Docker Buildx
120122
uses: docker/setup-buildx-action@v3
121123
with:
122-
version: v0.12.0
124+
version: latest
123125
env:
124126
BUILDX_NO_DEFAULT_ATTESTATIONS: 1
125127
-

0 commit comments

Comments
 (0)