From 28c1db0475cc1f9bc47449f6ec0f7b428a474541 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Mon, 27 Mar 2023 21:41:13 +0100 Subject: [PATCH] fixes --- .gitea/workflows/publish.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 6beebf6..7cc1bb5 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -39,7 +39,7 @@ jobs: - name: Cache Docker layers uses: https://github.com/actions/cache@v2 with: - path: /tmp/.buildx-cache + path: /opt/hostedtoolcache/buildx key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: | ${{ runner.os }}-buildx- @@ -57,10 +57,10 @@ jobs: push: true context: ./gitea-runner tags: git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache-new + cache-from: type=local,src=/opt/hostedtoolcache/buildx + cache-to: type=local,dest=/opt/hostedtoolcache/buildx-new - name: Move cache run: | - rm -rf /tmp/.buildx-cache - mv /tmp/.buildx-cache-new /tmp/.buildx-cache \ No newline at end of file + rm -rf /opt/hostedtoolcache/buildx + mv /opt/hostedtoolcache/buildx-new /opt/hostedtoolcache/buildx \ No newline at end of file