docs: 更新镜像仓库地址为 git.openlocalpdf.com
构建并推送 Docker 镜像 / build-and-push (push) Canceled after 0s

This commit is contained in:
Antigravity committed 2026-10-22 15:21:43 +08:00
1 parent 2292eb6e1e
commit fca87a1abc
1 file changed
+6 -15
+6 -15
View File
@@ -9,28 +9,19 @@
### 1. 登录 Gitea 镜像仓库
```bash
docker login <Gitea主机或IP:端口> -u <用户名> -p <密码或访问令牌>
docker login git.openlocalpdf.com -u <用户名> -p <密码或访问令牌>
```
*例如:`docker login 192.168.101.230:3000`*
### 2. 拉取镜像
```bash
docker pull <Gitea主机或IP:端口>/<组织或用户名>/<仓库名>:latest
```
*例如:*
```bash
docker pull 192.168.101.230:3000/mygroup/tbox-gateway:latest
docker pull git.openlocalpdf.com/gitea/tbox-gateway-docker:latest
```
> **注意(非 HTTPS/自签名证书):**
> 如果内网 Gitea 使用的是 HTTP 协议,请在客户端 `/etc/docker/daemon.json`(或 Docker Desktop 设置)中加入不安全仓库配置:
> ```json
> {
> "insecure-registries": ["192.168.101.230:3000"]
> }
> ```
> 然后重启 Docker 服务。
也可以拉取指定版本标签(例如 `v1.0.0`):
```bash
docker pull git.openlocalpdf.com/gitea/tbox-gateway-docker:<tag>
```
---