diff --git a/.github/workflows/build-publish.yaml b/.github/workflows/build-publish.yaml index 58a6477..65a125c 100644 --- a/.github/workflows/build-publish.yaml +++ b/.github/workflows/build-publish.yaml @@ -34,5 +34,5 @@ jobs: ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_USERNAME }}/email-classifier:latest ${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_USERNAME }}/email-classifier:${{ gitea.sha }} # Caching speeds up builds by reusing layers (crucial for 'uv' installs) - cache-from: type=gha - cache-to: type=gha,mode=max \ No newline at end of file + cache-from: type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_USERNAME }}/email-classifier:build-cache + cache-to: type=registry,ref=${{ secrets.DOCKER_REGISTRY }}/${{ secrets.DOCKER_USERNAME }}/email-classifier:build-cache,mode=max \ No newline at end of file