Merge: CI 构建镜像加 --no-cache
部署到群晖 / deploy (push) Failing after 1m42s

This commit is contained in:
yuming
2026-07-04 15:12:22 +08:00
+2 -1
View File
@@ -29,7 +29,8 @@ jobs:
uses: actions/checkout@v4
- name: 构建镜像
run: docker build -f Dockerfile.prod -t dysync:latest .
# --no-cache:绕开 buildx 旧 layer 缓存(曾出现 CI 用几天前缓存的 statics.vue 导致 vue-tsc 报孤儿引用错误)
run: docker build --no-cache --pull -f Dockerfile.prod -t dysync:latest .
- name: 停止旧容器
run: |