mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
🐜 fix(ci): Fix the runner.yml
This commit is contained in:
17
.github/workflows/runner.yml
vendored
17
.github/workflows/runner.yml
vendored
@@ -111,6 +111,11 @@ jobs:
|
|||||||
-
|
-
|
||||||
name: Setup Docker Buildx
|
name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
-
|
||||||
|
name: Set Swap Space
|
||||||
|
uses: pierotofy/set-swap-space@master
|
||||||
|
with:
|
||||||
|
swap-size-gb: 10
|
||||||
-
|
-
|
||||||
name: Cache Docker layers
|
name: Cache Docker layers
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
@@ -127,11 +132,11 @@ jobs:
|
|||||||
context: ./
|
context: ./
|
||||||
push: true
|
push: true
|
||||||
cache-from: type=local,src=/tmp/.buildx-cache
|
cache-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
|
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: ${{ steps.meta.outputs.labels }}
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
-
|
# -
|
||||||
name: Move cache
|
# name: Move cache
|
||||||
run: |
|
# run: |
|
||||||
rm -rf /tmp/.buildx-cache
|
# rm -rf /tmp/.buildx-cache
|
||||||
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
# mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
||||||
Reference in New Issue
Block a user