From c9ff811a2a79a8d4b769f3d7b33dd9fac454b776 Mon Sep 17 00:00:00 2001 From: Felix Schlusche Date: Fri, 24 Oct 2025 15:57:55 +0200 Subject: [PATCH] feat: add caching for Gitea Actions to improve build performance --- .gitea/workflows/docker-build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/docker-build.yml b/.gitea/workflows/docker-build.yml index 7cce8f7..85e783e 100644 --- a/.gitea/workflows/docker-build.yml +++ b/.gitea/workflows/docker-build.yml @@ -19,6 +19,16 @@ jobs: runs-on: ubuntu-latest steps: + - name: Cache Gitea Actions + uses: actions/cache@v3 + with: + # The path to the directory that should be cached + path: /root/.cache/act + # A key to identify the cache + key: ${{ runner.os }}-gitea-actions-${{ hashFiles(''.workflow) }} + # A fallback key to use if the primary key doesn't match + restore-keys: | + ${{ runner.os }}-gitea-actions- - name: Checkout code uses: actions/checkout@v4