fix: 新增 CACHE_BUST 參數以強制重新執行模型下載層,改善下載穩定性

This commit is contained in:
Your Name 2026-01-25 00:22:46 +08:00
parent 4b0f77aa2d
commit 0f5bf46111
3 changed files with 46 additions and 5 deletions

View file

@ -83,6 +83,9 @@ jobs:
tags: ${{ env.REGISTRY }}/${{ env.REPO }}:test-${{ github.sha }}
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.REPO }}:buildcache-linux-amd64
cache-to: type=inline
# 🔥 CACHE_BUST 強制重新執行模型下載層
build-args: |
CACHE_BUST=${{ github.run_id }}${{ github.run_attempt }}
- name: Set image output
id: image