File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -31,15 +31,22 @@ jobs:
3131 cache-binary : false
3232 install : true
3333 version : latest
34+ - uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
35+ with :
36+ path : ./docker-${{ matrix.arch }}-buildx
37+ key : docker-${{ matrix.arch }}-buildx-${{ hashFiles('**/Dockerfile') }}
38+
3439 - name : Build
3540 uses : docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
3641 with :
3742 platforms : linux/${{ matrix.arch }}
3843 push : false
3944 cache-from : |
4045 type=gha,scope=docker-build-${{ matrix.arch }}
46+ type=local,src=./docker-${{ matrix.arch }}-buildx
4147 cache-to : |
4248 type=gha,mode=min,scope=docker-build-${{ matrix.arch }}
49+ type=local,mode=max,dest=./docker-${{ matrix.arch }}-buildx
4350 context : .
4451 build-args : >-
4552 ${{ github.event_name == 'release' && format('VERSION={0}', github.ref_name) || '' }}
You can’t perform that action at this time.
0 commit comments