diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index b492ae48..cb389031 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -53,6 +53,12 @@ jobs: with: context: . push: true + # 上游 Dockerfile 用 BUILD_PIPELINE 作为 CI 跳过开关: + # 设为 "1" 时 pkg/exchangerates 跳过依赖第三方 API 的活测试 + # (加拿大银行/乌兹别克央行 API 国内不稳,跑就超时) + # CHECK_3RD_API 留空 → 三方 API 测试不跑;想跑设 "1" + build-args: | + BUILD_PIPELINE=1 tags: | git.zhengchentao.win/dev/ezbookkeeping:${{ steps.meta.outputs.image_tag }} git.zhengchentao.win/dev/ezbookkeeping:latest \ No newline at end of file