From ad7d57bb8317c1ac686a16aec83504d7113647bc Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Tue, 26 May 2026 20:25:19 +0200 Subject: [PATCH] feat(build-container): add docker build cache (#5) Reviewed-on: https://gitea.t000-n.de/t.behrendt/gitea-workflows/pulls/5 Co-authored-by: Timo Behrendt Co-committed-by: Timo Behrendt --- .gitea/workflows/build-container.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/build-container.yaml b/.gitea/workflows/build-container.yaml index 63316c0..8f22165 100644 --- a/.gitea/workflows/build-container.yaml +++ b/.gitea/workflows/build-container.yaml @@ -67,6 +67,8 @@ jobs: provenance: false tags: | ${{ inputs.registry }}/${{ inputs.repo-name }}:${{ inputs.tag }}-${{ matrix.arch }} + cache-from: type=registry,ref=${{ inputs.registry }}/${{ inputs.repo-name }}:cache-${{ matrix.arch }} + cache-to: type=registry,ref=${{ inputs.registry }}/${{ inputs.repo-name }}:cache-${{ matrix.arch }},mode=max create_manifest: name: Create manifest