Skip to content

chore(ci): 更新 Goreleaser 配置和 Dockerfile 构建逻辑 - #109

Merged
ch3nnn merged 2 commits into
ch3nnn:masterfrom
JxQg:jxq_dev
Jan 22, 2025
Merged

chore(ci): 更新 Goreleaser 配置和 Dockerfile 构建逻辑#109
ch3nnn merged 2 commits into
ch3nnn:masterfrom
JxQg:jxq_dev

Conversation

@JxQg

@JxQg JxQg commented Jan 22, 2025

Copy link
Copy Markdown
Contributor

变更说明

本次 PR 主要对 .goreleaser.ymlDockerfile 进行了以下调整:

  1. Goreleaser 配置更新

    • 新增 changelog 配置,支持生成更清晰的 changelog:
      • 使用 git 作为数据源,格式化输出提交信息。
      • 新增过滤规则,排除 docs:chore:test: 开头的提交。
      • 新增分组规则,按 feat:fix:perf:refactor: 等类型对提交进行分类。
    • 更新 archives 配置:
      • tar.gz 格式添加 id: default
      • 新增 format_overrides,针对 Windows 平台使用 zip 格式。
  2. Dockerfile 优化

    • 移除 GOPROXY 的环境变量设置,直接使用默认的代理配置。修复Github Actions 无法正确构建Docker镜像的问题。

影响范围

  • 本次修改主要影响 CI/CD 流程中的构建和发布逻辑,不会对应用程序的功能产生直接影响。

测试检查项

  • GoReleaser 本地测试
  • Docker 构建测试
  • GitHub Actions 工作流测试

JxQg added 2 commits January 21, 2025 23:34
- 过滤了以 'docs:', 'chore:', 'test:' 开头的提交
- 添加了 'New Features', 'Bug Fixes', 'Performance Improvements', 'Code Refactoring', 'Other Changes' 分组
- 注释GO代理服务器以兼容github actions 构建镜像
@ch3nnn

ch3nnn commented Jan 22, 2025

Copy link
Copy Markdown
Owner

LGTM

@ch3nnn
ch3nnn merged commit 01347fd into ch3nnn:master Jan 22, 2025
@JxQg
JxQg deleted the jxq_dev branch February 11, 2025 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants