File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 name : Set up Docker Buildx
2727 uses : docker/setup-buildx-action@v1
2828
29- -
30- name : Cache Docker layers
31- uses : actions/cache@v2
32- with :
33- path : /tmp/.buildx-cache
34- key : ${{ runner.os }}-buildx-${{ github.sha }}
35- restore-keys : |
36- ${{ runner.os }}-buildx-
37-
3829 -
3930 name : Log in to GitHub Container Registry
4031 uses : docker/login-action@v1
7364 tags : |
7465 ghcr.io/${{ env.OWNER }}/scirius:${{ github.sha }}
7566 ghcr.io/${{ env.OWNER }}/scirius:${{ env.VERSION }}
76- cache-from : type=local,src=/tmp/.buildx-cache
77- cache-to : type=local,dest=/tmp/.buildx-cache-new,mode=max
78-
79- -
80- # Temp fix
81- # https://github.com/docker/build-push-action/blob/master/docs/advanced/cache.md#github-cache
82- # https://github.com/docker/build-push-action/issues/252
83- # https://github.com/moby/buildkit/issues/1896
84- name : Move cache
85- run : |
86- rm -rf /tmp/.buildx-cache
87- mv /tmp/.buildx-cache-new /tmp/.buildx-cache
You can’t perform that action at this time.
0 commit comments