Files
SKYMirror 27432218c4
Release 镜像 / 测试(推送前置门禁) (push) Successful in 44s
Release 镜像 / 多架构构建并推送 ACR (push) Failing after 1s
release: GoReleaser Pro v2.18.1 发布配置
- .goreleaser.yaml:5 平台二进制(linux/darwin/windows × amd64/arm64)+
  tar.gz/zip 双格式归档 + 双架构 Docker 镜像(ACR registry.cn-hangzhou.aliyuncs.com/skymirror/fileshare)
  + 多架构 manifest(版本号 + latest)+ Gitea Release 发布
- main.go:APP_VERSION 从 const 改 var,支持 -ldflags -X 注入发布版本;
  新增 BuildCommit/BuildDate 注入点
- dist/ 加入 .gitignore
2026-09-08 02:28:41 +08:00

39 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ===== 构建产物与本地缓存 =====
# Go 构缓存 / 模块缓存(体积大,且 .gomodcache 含第三方源码副本)
.gocache/
.gomodcache/
.gotools/
.npm-cache/
# 前端依赖与构建产物
web/node_modules/
web/dist/
# web-embed/ 为宿主预构建产物(cp -a web/dist web-embed/),仅保留占位;
# Dockerfile 缺失 index.html 时自动回退为容器内构建前端
web-embed/*
!web-embed/.gitkeep
# go:embed 目标:直接提交构建产物,保证全新克隆 `go build`/`go run` 开箱可用
# (前端源码变更后重新构建并同步:cd web && npm run build && rm -rf ../server/web/dist && cp -a dist ../server/web/dist
# 参考实现(第三方上游代码,非本项目源码,不入库)
reference/
# 本地运行数据(SQLite 数据库、本地存储文件、日志)
server/data/
*.db
*.db-shm
*.db-wal
*.log
server.pid
# 环境变量(保留 .env.example 模板;.env 属各部署环境自有配置)
deploy/.env
# 系统杂物
.DS_Store
# 会话/协作目录(工具私有,非项目源码)
.agent-teams/
dist/