ci: switch Docker build cache to type=registry #2

Merged
cal merged 1 commits from ci/registry-cache into main 2026-02-11 22:14:28 +00:00

View File

@ -194,8 +194,8 @@ jobs:
manticorum67/paper-dynasty-database:latest manticorum67/paper-dynasty-database:latest
manticorum67/paper-dynasty-database:v${{ steps.meta.outputs.version }} manticorum67/paper-dynasty-database:v${{ steps.meta.outputs.version }}
manticorum67/paper-dynasty-database:${{ steps.meta.outputs.version_sha }} manticorum67/paper-dynasty-database:${{ steps.meta.outputs.version_sha }}
cache-from: type=gha cache-from: type=registry,ref=manticorum67/paper-dynasty-database:buildcache
cache-to: type=gha,mode=max cache-to: type=registry,ref=manticorum67/paper-dynasty-database:buildcache,mode=max
# ============================================== # ==============================================
# 7. BUILD SUMMARY # 7. BUILD SUMMARY
@ -368,8 +368,8 @@ jobs:
# - Check webhook still exists in Discord channel settings # - Check webhook still exists in Discord channel settings
# #
# 4. Build cache not working # 4. Build cache not working
# - GitHub Actions cache is stored per repository # - Uses registry-based caching (pushes cache layers to Docker Hub)
# - Cache is shared across branches # - Requires Docker Hub login to read/write cache
# - May need to clear cache if corrupted # - To clear cache: delete the buildcache tag on Docker Hub
# #
# ============================================== # ==============================================