Merge pull request 'ci: switch Docker build cache to type=registry' (#5) from ci/registry-cache into main
All checks were successful
Build Docker Image / build (push) Successful in 4m7s

This commit is contained in:
cal 2026-02-11 22:14:23 +00:00
commit d40ddb76be

View File

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