parent
5549909efa
commit
28c1db0475
@ -39,7 +39,7 @@ jobs:
|
|||||||
- name: Cache Docker layers
|
- name: Cache Docker layers
|
||||||
uses: https://github.com/actions/cache@v2
|
uses: https://github.com/actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: /tmp/.buildx-cache
|
path: /opt/hostedtoolcache/buildx
|
||||||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-buildx-
|
${{ runner.os }}-buildx-
|
||||||
@ -57,10 +57,10 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
context: ./gitea-runner
|
context: ./gitea-runner
|
||||||
tags: git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest
|
tags: git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/opt/hostedtoolcache/buildx
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
cache-to: type=local,dest=/opt/hostedtoolcache/buildx-new
|
||||||
|
|
||||||
- name: Move cache
|
- name: Move cache
|
||||||
run: |
|
run: |
|
||||||
rm -rf /tmp/.buildx-cache
|
rm -rf /opt/hostedtoolcache/buildx
|
||||||
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
mv /opt/hostedtoolcache/buildx-new /opt/hostedtoolcache/buildx
|
Loading…
Reference in New Issue
Block a user