samuelchen / hub-mirror

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

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

Open samuelchen opened 1 year ago

samuelchen commented 1 year ago

{ "hub-mirror": [ "ghcr.io/goharbor/registry-photon:v2.6.2", "ghcr.io/goharbor/harbor-registryctl:v2.6.2" ] }

github-actions[bot] commented 1 year ago

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

echo -e '\n# if your repository is private,please login...\n# docker login swr.cn-south-1.myhuaweicloud.com/samc --username={your username}\n   \ndocker pull swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.registry-photon:v2.6.2\ndocker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.registry-photon:v2.6.2 ghcr.io/goharbor/registry-photon:v2.6.2\n\n\n# if your repository is private,please login...\n# docker login swr.cn-south-1.myhuaweicloud.com/samc --username={your username}\n   \ndocker pull swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-registryctl:v2.6.2\ndocker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-registryctl:v2.6.2 ghcr.io/goharbor/harbor-registryctl:v2.6.2\n\n' | bash

或是手动执行:


# if your repository is private,please login...
# docker login swr.cn-south-1.myhuaweicloud.com/samc --username={your username}

docker pull swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.registry-photon:v2.6.2
docker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.registry-photon:v2.6.2 ghcr.io/goharbor/registry-photon:v2.6.2

# if your repository is private,please login...
# docker login swr.cn-south-1.myhuaweicloud.com/samc --username={your username}

docker pull swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-registryctl:v2.6.2
docker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-registryctl:v2.6.2 ghcr.io/goharbor/harbor-registryctl:v2.6.2

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