diff --git a/README.md b/README.md index a92c3ab..221d9e9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # public-image-mirror +[![Sync](https://github.com/DaoCloud/public-image-mirror/actions/workflows/sync.yml/badge.svg)](https://github.com/DaoCloud/public-image-mirror/actions/workflows/sync.yml) [![Sync](https://gist.github.com/wzshiming/6e1f67a5184f93cefc5b2c670a5813e5/raw/daocloud-sync-badge.svg)](https://gist.github.com/wzshiming/6e1f67a5184f93cefc5b2c670a5813e5/raw/daocloud-sync.log) + +[![Deep Sync](https://github.com/DaoCloud/public-image-mirror/actions/workflows/deep-sync.yml/badge.svg)](https://github.com/DaoCloud/public-image-mirror/actions/workflows/deep-sync.yml) [![Deep Sync](https://gist.github.com/wzshiming/6e1f67a5184f93cefc5b2c670a5813e5/raw/daocloud-deep-sync-badge.svg)](https://gist.github.com/wzshiming/6e1f67a5184f93cefc5b2c670a5813e5/raw/daocloud-deep-sync.log) ## 背景 @@ -16,7 +19,6 @@ ``` docker run -d -P docker.m.daocloud.io/nginx - ``` @@ -47,22 +49,6 @@ k8s.gcr.io/coredns/coredns => k8s-gcr.m.daocloud.io/coredns/coredns 提 PR , 修改 mirror.txt 即可。例如 [PR#1](https://github.com/DaoCloud/public-image-mirror/pull/1/) -## 安装运行 - -安装 skopeo. -``` -yum install skopeo --nobest -``` - - -运行同步程序 - -``` -export REGISTRY_PASSWORD=password #镜像仓库密码 -python scripts/sync-to-jp.py -``` - - ## 最佳实践 * 通过 加速 安装 kubeadm ``` bash