mirror of
https://github.com/jeffusion/gitea-ai-assistant.git
synced 2026-03-27 10:05:50 +00:00
ci: rewrite CI/CD with semantic-release and GHCR Docker push
- Rewrite release.yml: semantic-release for auto-versioning + Docker image build and push to GitHub Container Registry (ghcr.io) - Rewrite ci.yml: remove continue-on-error on lint - Add .releaserc.json with changelog and git plugins - Add semantic-release dependencies to package.json - Fix Dockerfile: remove --frozen-lockfile from production install - Update .dockerignore with comprehensive exclusions - Update docker-compose.yml to pull from GHCR by default - Remove obsolete pnpm packageManager field - Remove obsolete kubernetes.yaml from .gitignore
This commit is contained in:
@@ -1,10 +1,48 @@
|
||||
# 忽略所有 node_modules
|
||||
node_modules/
|
||||
frontend/node_modules/
|
||||
# Git
|
||||
.git
|
||||
.gitignore
|
||||
.github
|
||||
|
||||
# 忽略 .env 文件
|
||||
# Docker (prevent recursion)
|
||||
Dockerfile
|
||||
docker-compose*.yml
|
||||
|
||||
# Build outputs (rebuilt in container)
|
||||
dist
|
||||
|
||||
# Node modules (installed in container)
|
||||
node_modules
|
||||
frontend/node_modules
|
||||
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
|
||||
# Test files
|
||||
*.test.ts
|
||||
*.spec.ts
|
||||
__tests__
|
||||
coverage
|
||||
e2e
|
||||
|
||||
# Development files
|
||||
.env
|
||||
|
||||
# 忽略 kubernetes.yaml
|
||||
kubernetes.yaml
|
||||
.env.*
|
||||
config-overrides.json
|
||||
|
||||
# IDE and editor files
|
||||
.vscode
|
||||
.idea
|
||||
.cursor
|
||||
.sisyphus
|
||||
*.swp
|
||||
*.swo
|
||||
.DS_Store
|
||||
|
||||
# Documentation (not needed in container)
|
||||
*.md
|
||||
docs
|
||||
|
||||
# CI/CD config
|
||||
.releaserc.json
|
||||
biome.json
|
||||
|
||||
Reference in New Issue
Block a user