File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,22 @@ jobs:
113113 key : buildx-x86_64-bootstrap-${{ github.sha }}
114114 fail-on-cache-miss : true
115115
116+ - name : Cache Docker cache mounts
117+ if : ${{ github.ref_type != 'tag' }}
118+ uses : actions/cache@v5
119+ with :
120+ path : .cache/buildx-${{ matrix.platform }}-cache-mounts
121+ key : buildx-${{ matrix.platform }}-cache-mounts-${{ github.sha }}
122+ restore-keys : |
123+ buildx-${{ matrix.platform }}-cache-mount
124+
125+ - name : Restore Docker cache mounts
126+ if : ${{ github.ref_type != 'tag' }}
127+ uses : reproducible-containers/buildkit-cache-dance@v3
128+ with :
129+ builder : ${{ steps.setup-buildx.outputs.name }}
130+ cache-dir : .cache/buildx-${{ matrix.platform }}-cache-mounts
131+
116132 - name : Build image
117133 uses : docker/build-push-action@v6
118134 with :
You can’t perform that action at this time.
0 commit comments