fix: 新增 CACHE_BUST 參數以強制重新執行模型下載層,改善下載穩定性
This commit is contained in:
parent
4b0f77aa2d
commit
0f5bf46111
3 changed files with 46 additions and 5 deletions
3
.github/workflows/docker-e2e-tests.yml
vendored
3
.github/workflows/docker-e2e-tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue