From 3d7537c5b17cb6963a18acf4f8dc117567419bf1 Mon Sep 17 00:00:00 2001 From: Steffen Illium Date: Mon, 15 Sep 2025 10:18:01 +0200 Subject: [PATCH] caching --- .gitea/workflows/main.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml index dcfe1e48..c550a159 100644 --- a/.gitea/workflows/main.yaml +++ b/.gitea/workflows/main.yaml @@ -29,4 +29,6 @@ jobs: push: true tags: | ${{ vars.LOCAL_REGISTRY }}/${{ gitea.repository_owner }}/website:latest - ${{ vars.LOCAL_REGISTRY }}/${{ gitea.repository_owner }}/website:${{ gitea.sha }} \ No newline at end of file + ${{ vars.LOCAL_REGISTRY }}/${{ gitea.repository_owner }}/website:${{ gitea.sha }} + cache-from: type=gha,scope:build-${{ gitea.ref_name }} + cache-to: type=gha,scope:build-${{ gitea.ref_name }},mode=max \ No newline at end of file