[PR #475] [MERGED] Reconfigure Github Actions for Docker Image CI #968

Closed
opened 2026-03-03 01:07:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/certimate-go/certimate/pull/475
Author: @fudiwei
Created: 3/2/2025
Status: Merged
Merged: 3/3/2025
Merged by: @usual2970

Base: nextHead: next


📝 Commits (4)

📊 Changes

3 files changed (+13 additions, -16 deletions)

View changed files

📝 .github/workflows/push_image.yml (+5 -6)
📝 .github/workflows/push_image_next.yml (+4 -6)
📝 .github/workflows/release.yml (+4 -4)

📄 Description

修改 GitHub Actions 工作流中关于 Docker Image CI 相关的触发条件。


备注

tag: v0.3.0-alpha.1 起,为区分 Stable Releases 与 Pre-Releases,原有工作流触发条件被修改为仅当包含 -beta 时才触发推送到 lastest。但该标签并不符合主流的 SemVer 规范 —— 它实际也被视为 Pre-Releases。这在某些情况下会造成冲突和误解,例如文档站点中利用 GitHub API 自动化拉取当前最新版本号最新稳定版版本号显示在文档中,但受该标签的影响,带有 beta 的版本不会被视为最新稳定版版本号

为规范后续版本发布流程,此 PR 重新配置了相关工作流的触发条件。新的触发条件为:

  • tag 以 v+数字 开头的,视为版本发布,执行 .github/workflows/release.yml
  • tag 以 v+数字 开头的、且不包含 alphabeta 的,视为稳定版本发布,执行 .github/workflows/push_image.yml
  • tag 以 v+数字 开头的、且包含 -alpha-beta 的,视为预览版本发布,执行 .github/workflows/push_image_next.yml

Important

声明:
这里提到的“稳定版本”,仅代表它可供普通用户使用,而并非是为了集成或稳定性测试目的。
但在正式到达 v1.0.0 版本前,所有 v0.x 版本均不承诺稳定性与兼容性 —— 即便它没有带有 alphabeta 的标签。


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/certimate-go/certimate/pull/475 **Author:** [@fudiwei](https://github.com/fudiwei) **Created:** 3/2/2025 **Status:** ✅ Merged **Merged:** 3/3/2025 **Merged by:** [@usual2970](https://github.com/usual2970) **Base:** `next` ← **Head:** `next` --- ### 📝 Commits (4) - [`1745907`](https://github.com/certimate-go/certimate/commit/1745907bcbe98154ad856c4fb6eeb05468461093) update README - [`14ce139`](https://github.com/certimate-go/certimate/commit/14ce139135abf9c650cec779aca6943c3b0eec8f) Merge branch 'next' of https://github.com/fudiwei/certimate into next - [`699f847`](https://github.com/certimate-go/certimate/commit/699f847d4ae73dfd0ca4f525dbf034953dc01c56) Merge branch 'usual2970:next' into next - [`579c411`](https://github.com/certimate-go/certimate/commit/579c4119003280131d2d81e524a44a70630e6233) build: config github actions workflow ### 📊 Changes **3 files changed** (+13 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/push_image.yml` (+5 -6) 📝 `.github/workflows/push_image_next.yml` (+4 -6) 📝 `.github/workflows/release.yml` (+4 -4) </details> ### 📄 Description 修改 GitHub Actions 工作流中关于 Docker Image CI 相关的触发条件。 --- ## 备注 自 `tag: v0.3.0-alpha.1` 起,为区分 Stable Releases 与 Pre-Releases,原有工作流触发条件被修改为仅当包含 `-beta` 时才触发推送到 `lastest`。但该标签并不符合主流的 SemVer 规范 —— 它实际也被视为 Pre-Releases。这在某些情况下会造成冲突和误解,例如文档站点中利用 GitHub API 自动化拉取当前**最新版本号**与**最新稳定版版本号**显示在文档中,但受该标签的影响,带有 `beta` 的版本不会被视为**最新稳定版版本号**。 为规范后续版本发布流程,此 PR 重新配置了相关工作流的触发条件。新的触发条件为: - tag 以 `v+数字` 开头的,视为版本发布,执行 _.github/workflows/release.yml_。 - tag 以 `v+数字` 开头的、且**不包含** `alpha`、`beta` 的,视为稳定版本发布,执行 _.github/workflows/push_image.yml_。 - tag 以 `v+数字` 开头的、且**包含** `-alpha`、`-beta` 的,视为预览版本发布,执行 _.github/workflows/push_image_next.yml_。 > [!IMPORTANT] > 声明: > 这里提到的“稳定版本”,仅代表它可供普通用户使用,而并非是为了集成或稳定性测试目的。 > 但在正式到达 v1.0.0 版本前,所有 v0.x 版本均不承诺稳定性与兼容性 —— 即便它没有带有 `alpha` 或 `beta` 的标签。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 01:07:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/certimate#968
No description provided.