🐜 fix(ci): Fix the runner.yml

This commit is contained in:
Wanjohi
2025-01-23 02:19:18 +03:00
parent fb77dc9572
commit 056d7e070d

View File

@@ -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