Replace GHA cache with registry cache

Switch from type=gha to type=registry for Docker build caching.
Registry cache works with Gitea runners and stores cache layers
as special tags in the container registry.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Wylabb
2025-12-15 04:50:40 +01:00
parent 3a0980b294
commit 29ec3bd03e
+4
View File
@@ -64,6 +64,8 @@ jobs:
with:
context: .
platforms: linux/arm64
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-arm64
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-arm64,mode=max
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:arm64
@@ -120,6 +122,8 @@ jobs:
with:
context: .
platforms: linux/amd64
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache-amd64,mode=max
push: true
tags: |
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest