Files
image/README.md
T
thuanle b823333d5d
gitea-mcp image / build (arm64) (push) Successful in 13s
beszel-agent-gpu image / build (amd64) (push) Successful in 31s
beszel-agent-gpu image / amend-manifest (push) Successful in 3s
gitea-mcp image / amend-manifest (push) Successful in 9s
restructure per-image dirs + onpush paths filter; add beszel-agent-gpu image
2026-09-07 15:49:50 +07:00

38 lines
1.6 KiB
Markdown

# image
Repo này nhằm để build lại các Docker image hay dùng, đồng thời tự động cập nhật theo lịch hàng tuần.
## Cấu trúc
Mỗi image nằm trong một thư mục riêng, kèm workflow riêng build khi có thay đổi liên quan:
- Dockerfile: `<tên image>/Dockerfile` (chi tiết xem `<tên image>/README.md`)
- Workflow: `.gitea/workflows/<tên image>.yml` — chạy khi push thay đổi `<tên image>/**` và theo lịch cron hằng tuần
## Images
### gitea-mcp
- Registry: `git.thuanle.me/public/gitea-mcp:latest`
- Dockerfile: [gitea-mcp/Dockerfile](gitea-mcp/Dockerfile)
- Image chạy [gitea-mcp](https://gitea.com/gitea/gitea-mcp) — MCP server cho Gitea.
- Base: `alpine:latest`, tự động lấy phiên bản mới nhất từ Gitea releases khi build
- Hỗ trợ kiến trúc: `arm64`
- Build tự động mỗi Chủ nhật lúc 02:00 UTC
```bash
docker run --rm git.thuanle.me/public/gitea-mcp:latest --help
```
### beszel-agent-gpu
- Registry: `git.thuanle.me/public/beszel-agent-gpu:latest`
- Dockerfile: [beszel-agent-gpu/Dockerfile](beszel-agent-gpu/Dockerfile)
- [beszel-agent](https://github.com/henrygd/beszel) chạy trong môi trường glibc để thu thập GPU stats NVIDIA (image chính thức là distroless nên không chạy được `nvidia-smi`).
- Chỉ build cho `amd64` (dành cho server có GPU NVIDIA, hiện là `ta`)
- Build lại mỗi Chủ nhật lúc 02:30 UTC với `--pull` để lấy binary agent mới nhất; server tiêu thụ qua watchtower
## Update
- Repo được build lại hàng tuần theo cron của từng workflow.