docs(deploy): document gitea registry image path
Docker Image / Build and Push Docker Image (push) Failing after 19s
Docker Image / Build and Push Docker Image (push) Failing after 19s
This commit is contained in:
@@ -95,14 +95,14 @@ production root@43.106.13.130:/root/cozsweet-repos/main
|
||||
|
||||
```env
|
||||
COZSWEET_DEPLOY_IMAGE_SOURCE=pull
|
||||
COZSWEET_REGISTRY_IMAGE=registry.example.com/cozsweet/cozsweet-web
|
||||
COZSWEET_REGISTRY_IMAGE=gitea.banlv-ai.com/admin/cozsweet-web
|
||||
```
|
||||
|
||||
默认远程镜像 tag 为 `<deploy_env>-<short_sha>`:
|
||||
|
||||
```text
|
||||
registry.example.com/cozsweet/cozsweet-web:test-<commit>
|
||||
registry.example.com/cozsweet/cozsweet-web:prod-<commit>
|
||||
gitea.banlv-ai.com/admin/cozsweet-web:test-<commit>
|
||||
gitea.banlv-ai.com/admin/cozsweet-web:prod-<commit>
|
||||
```
|
||||
|
||||
也可以在服务器本地 `.deploy.env` 中覆盖为 latest tag:
|
||||
|
||||
Reference in New Issue
Block a user