ci(.github/workflows): 拆分 CI 与发布流程。
Docker Release / Check web and api (push) Waiting to run
Docker Release / Resolve release tag (push) Blocked by required conditions
Docker Release / Build and publish all-in-one (push) Blocked by required conditions
Docker Release / Build and publish api (push) Blocked by required conditions
Docker Release / Build and publish web (push) Blocked by required conditions
Docker Release / Build and publish dovecot (push) Blocked by required conditions
Docker Release / Build and publish postfix (push) Blocked by required conditions
Docker Release / Build and publish rspamd (push) Blocked by required conditions

- 新增独立的 CI 工作流,覆盖前端检查、构建和后端测试。
- 调整 Docker 工作流为仅负责标签发布与镜像构建。
- 同步优化管理页 Issues 图标颜色。
This commit is contained in:
LanQin
2026-06-21 02:30:01 +08:00
parent c872ed559d
commit e7e4f43691
3 changed files with 63 additions and 16 deletions
+1 -15
View File
@@ -1,21 +1,9 @@
name: CI and Docker
name: Docker Release
on:
push:
branches:
- main
tags:
- "v*"
paths-ignore:
- "**/*.md"
- "deploy/.env.example"
pull_request:
branches:
- main
paths-ignore:
- "**/*.md"
- "deploy/.env.example"
workflow_dispatch:
permissions:
contents: read
@@ -72,7 +60,6 @@ jobs:
name: Resolve release tag
runs-on: ubuntu-latest
needs: checks
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
outputs:
tag: ${{ steps.release.outputs.tag }}
version: ${{ steps.release.outputs.version }}
@@ -94,7 +81,6 @@ jobs:
name: Build and publish ${{ matrix.name }}
runs-on: ubuntu-latest
needs: release
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
strategy:
fail-fast: false
matrix: