mirror of
https://github.com/margrop/wrong-notebook.git
synced 2026-12-04 15:39:20 +08:00
ci: 镜像构建前先通过公开历史检查
This commit is contained in:
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user