diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a8b3360..a889962 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -18,7 +18,7 @@ jobs: uses: docker/setup-buildx-action@v3 - name: Cache Docker layers - uses: https://github.com/actions/cache@v3 + uses: https://github.com/actions/cache/restore@v3 with: path: | /tmp/.buildx-cache @@ -42,12 +42,12 @@ jobs: push: true tags: git.nerdcult.net/nerdcult/nerdcult_admin_worker:latest cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new + cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - name: Rotate the cache run: | - rm -rf /tmp/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache + rm -rvf /tmp/.buildx-cache + mv -v /tmp/.buildx-cache-new /tmp/.buildx-cache - name: Deploy env: