File tree Expand file tree Collapse file tree 1 file changed +4
-20
lines changed
Expand file tree Collapse file tree 1 file changed +4
-20
lines changed Original file line number Diff line number Diff line change @@ -25,32 +25,16 @@ jobs:
2525 - name : Set up Docker Buildx
2626 uses : docker/setup-buildx-action@v3
2727
28- - name : Cache Docker layers
29- uses : actions/cache@v4
30- with :
31- path : /tmp/.buildx-cache
32- key : ${{ runner.os }}-buildx-${{ github.head_ref || github.ref_name }}-${{ github.sha }}
33- restore-keys : |
34- ${{ runner.os }}-buildx-${{ github.head_ref || github.ref_name }}
35- ${{ runner.os }}-buildx-main
36- ${{ runner.os }}-buildx-
37-
3828 - name : Build prod Docker image
3929 uses : docker/build-push-action@v6
4030 with :
4131 push : false
42- cache-from : type=local,src=/tmp/.buildx-cache
43- cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
32+ cache-from : |
33+ type=gha,scope=${{ github.ref_name }}
34+ type=gha,ref=main
35+ cache-to : type=gha,scope=${{ github.ref_name }},mode=max
4436 file : Dockerfile
4537
46- - # Temp fix
47- # https://github.com/docker/build-push-action/issues/252
48- # https://github.com/moby/buildkit/issues/1896
49- name : Move cache
50- run : |
51- rm -rf /tmp/.buildx-cache
52- mv /tmp/.buildx-cache-new /tmp/.buildx-cache
53-
5438 linters :
5539 name : Linters
5640 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments