mirror of
https://github.com/chaitin/SafeLine.git
synced 2026-01-31 13:53:33 +08:00
feat: add image namespace check
This commit is contained in:
@@ -56,6 +56,10 @@ cat .env | grep IMAGE_TAG
|
||||
# 把 IMAGE_TAG 修改为 latest 或者某个特定版本,比如 1.1.0
|
||||
sed -i "s/IMAGE_TAG=.*/IMAGE_TAG=latest/g" .env
|
||||
|
||||
# 检查 `compose.yaml`
|
||||
# docker 镜像的命名空间调整到了 `chaitin`,部分旧版本配置是使用的 `chaitinops`
|
||||
sed -i "s/chaitinops/chaitin/g" compose.yaml
|
||||
|
||||
# 根据环境情况自行使用 `docker compose` 或者 `docker-compose`
|
||||
docker compose down && docker compose pull && docker compose up -d
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user