Enable registry cache for docker build (#176)

* Enable registry cache for docker build

* Update .github/workflows/container.yml

Co-authored-by: Mitchell Syer <Syer10@users.noreply.github.com>

---------

Co-authored-by: Mitchell Syer <Syer10@users.noreply.github.com>
This commit is contained in:
Constantin Piber
2025-09-15 12:01:58 +00:00
committed by GitHub
parent 23518c3677
commit 9c68d6f7e2

View File

@@ -221,8 +221,8 @@ jobs:
${{ inputs.tachidesk_release_type == 'stable' && 'ghcr.io/suwayomi/suwayomi-server:latest' || '' }}
ghcr.io/suwayomi/suwayomi-server:${{ inputs.tachidesk_release_type }}
ghcr.io/suwayomi/suwayomi-server:${{ steps.get_latest_release_metadata.outputs.release_tag }}
env:
SOURCE_DATE_EPOCH: 0
cache-from: type=registry,ref=ghcr.io/suwayomi/suwayomi-server:buildcache
cache-to: type=registry,ref=ghcr.io/suwayomi/suwayomi-server:buildcache,mode=max
# - name: Create slim container
# uses: kitabisa/docker-slim-action@v1