restructure per-image dirs + onpush paths filter; add beszel-agent-gpu image
This commit is contained in:
1 parent
c0306bba7f
commit
b823333d5d
7 files changed
+178
-17
No files matched your search
@@ -2,22 +2,36 @@
|
||||
|
||||
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/image:gitea-mcp-latest`
|
||||
|
||||
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: `amd64`, `arm64`, `i386`
|
||||
- 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
|
||||
|
||||
**Chạy:**
|
||||
|
||||
```bash
|
||||
docker run --rm git.thuanle.me/public/image:gitea-mcp-latest --help
|
||||
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.
|
||||
Reference in new issue
Block a user