diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bcdb3b56..2d5abb91 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,7 +144,8 @@ jobs: docker-build: runs-on: ubuntu-latest name: Docker Build & Push - # 只在 tag 推送时构建镜像 + # 只在 tag 推送时构建镜像,且须先通过公开历史检查 + needs: publication-check if: startsWith(github.ref, 'refs/tags/') permissions: contents: read