Add registry layer cache and fix Dockerfile cache order
Some checks failed
Build ROCm Image / build (push) Failing after 19m47s
Some checks failed
Build ROCm Image / build (push) Failing after 19m47s
- CI: cache-from/cache-to with mode=max stores all intermediate layers in the registry so subsequent builds skip unchanged layers (especially the slow ROCm PyTorch download) - Dockerfile: move COPY perth_stub.py below pip install layers so a stub change doesn't bust the cache for everything above it Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,3 +31,5 @@ jobs:
|
||||
tags: |
|
||||
git.sdgarren.com/scott/rocm-chatterbox-whisper:latest
|
||||
git.sdgarren.com/scott/rocm-chatterbox-whisper:${{ gitea.sha }}
|
||||
cache-from: type=registry,ref=git.sdgarren.com/scott/rocm-chatterbox-whisper:buildcache
|
||||
cache-to: type=registry,ref=git.sdgarren.com/scott/rocm-chatterbox-whisper:buildcache,mode=max
|
||||
|
||||
Reference in New Issue
Block a user