mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 08:15: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
|
||||
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
|
||||
uses: actions/cache@v4
|
||||
@@ -127,11 +132,11 @@ jobs:
|
||||
context: ./
|
||||
push: true
|
||||
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 }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
-
|
||||
name: Move cache
|
||||
run: |
|
||||
rm -rf /tmp/.buildx-cache
|
||||
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
||||
# -
|
||||
# name: Move cache
|
||||
# run: |
|
||||
# rm -rf /tmp/.buildx-cache
|
||||
# mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
||||
Reference in New Issue
Block a user