统一 musl 全静态构建,规范 Dockerfile 与产物命名
Build and Release / release (push) Successful in 12s
Build and Release / build-and-test (amd64) (push) Successful in 1m27s
Build and Release / build-and-test (arm64) (push) Successful in 4m5s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-10 10:12:08 +08:00
co-authored by Claude Opus 4.8
parent 69a9404a97
commit 491c9e0bc3
8 changed files with 21 additions and 107 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ xxxigDaemon -c /etc/xxxig/config.json
curl -I https://gitea.bcde.io
# 手动下载测试
curl -O https://gitea.bcde.io/api/packages/wangdefa/generic/xxxig/6.26.0/xxxig-amd64-ubuntu-6.26.0.tar.gz
curl -O https://gitea.bcde.io/api/packages/wangdefa/generic/xxxig/6.26.0/xxxig-amd64-linux-static-6.26.0.tar.gz
```
**问题: 服务无法启动**
+2 -1
View File
@@ -323,7 +323,8 @@ main() {
[[ "$version" == "latest" ]] && version=$(get_gitea_latest_version)
local pkg_version="${version#v}" # registry 包版本为数字,去掉可能的 v 前缀
download_url="https://${GITEA_SERVER}/api/packages/${GITEA_OWNER}/generic/${PACKAGE_NAME}/${pkg_version}/${PACKAGE_NAME}-$(get_arch)-$os_type-${pkg_version}.tar.gz"
# 产物统一为 musl 全静态(linux-static),不再区分 distroos_type 仅用于下方服务管理(OpenRC/systemd)
download_url="https://${GITEA_SERVER}/api/packages/${GITEA_OWNER}/generic/${PACKAGE_NAME}/${pkg_version}/${PACKAGE_NAME}-$(get_arch)-linux-static-${pkg_version}.tar.gz"
log "$BLUE" "配置信息:"
echo " 版本: $version"