carlsonsoft / hub-mirror

🚀 gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像加速下载服务
MIT License
0 stars 0 forks source link

[hub-mirror] 请求执行任务 #6

Open carlsonsoft opened 11 months ago

carlsonsoft commented 11 months ago

{ "hub-mirror": [ "格式:你需要转换的原始镜像$自定义镜像名:自定义标签名", "其中 $自定义镜像名:自定义标签名 是可选的", "以下是三个正确示例", "ghcr.io/osgeo/gdal:ubuntu-small-3.6.3", "要求:hub-mirror 标签是必选的,标题随意,内容严格按照该 json 格式,每次最多支持转换 11 个镜像", "错误的镜像都会被跳过", "请确保 json 格式是正确的,比如下面这个是最后一个,后面是没有逗号的", "好了,改成你想要转换的镜像吧" ] }

github-actions[bot] commented 11 months ago

Hello,您可以直接执行该命令:

echo -e '# if your repository is private,please login...\n# docker login registry.cn-hangzhou.aliyuncs.com/carlsonsoft --username={your username}\n\ndocker pull registry.cn-hangzhou.aliyuncs.com/carlsonsoft/ghcr.io.osgeo.gdal:ubuntu-small-3.6.3\ndocker tag registry.cn-hangzhou.aliyuncs.com/carlsonsoft/ghcr.io.osgeo.gdal:ubuntu-small-3.6.3 ghcr.io/osgeo/gdal:ubuntu-small-3.6.3' | bash

或是手动执行:

# if your repository is private,please login...
# docker login registry.cn-hangzhou.aliyuncs.com/carlsonsoft --username={your username}

docker pull registry.cn-hangzhou.aliyuncs.com/carlsonsoft/ghcr.io.osgeo.gdal:ubuntu-small-3.6.3
docker tag registry.cn-hangzhou.aliyuncs.com/carlsonsoft/ghcr.io.osgeo.gdal:ubuntu-small-3.6.3 ghcr.io/osgeo/gdal:ubuntu-small-3.6.3

希望可以帮助到您,祝您周四愉快!