samuelchen / hub-mirror

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

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

Open samuelchen opened 1 year ago

samuelchen commented 1 year ago

{ "hub-mirror": [ "ghcr.io/goharbor/harbor-jobservice:v2.6.2", "ghcr.io/goharbor/harbor-exporter: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.harbor-exporter:v2.6.2\ndocker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-exporter:v2.6.2 ghcr.io/goharbor/harbor-exporter: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-jobservice:v2.6.2\ndocker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-jobservice:v2.6.2 ghcr.io/goharbor/harbor-jobservice: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.harbor-exporter:v2.6.2
docker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-exporter:v2.6.2 ghcr.io/goharbor/harbor-exporter: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-jobservice:v2.6.2
docker tag swr.cn-south-1.myhuaweicloud.com/samc/ghcr.io.goharbor.harbor-jobservice:v2.6.2 ghcr.io/goharbor/harbor-jobservice:v2.6.2

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