Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
togettoyou opened this issue Feb 1, 2024 · 2 comments
Closed

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

togettoyou opened this issue Feb 1, 2024 · 2 comments
Labels
hub-mirror 触发 workflow 的必选条件 Stale success workflow 执行成功

Comments

@togettoyou
Copy link
Owner

{
"platform":"",
"hub-mirror": [
"若对OS/ARCH无要求,platform请留空,不要加任何值,默认就是linux/amd64",
"如需切换arm架构,请修改platform为arm64或linux/arm64/v8",
"格式:你需要转换的原始镜像$自定义镜像名:自定义标签名 (其中 $自定义镜像名:自定义标签名 是可选的)",
"以下是三个正确示例",
"registry.k8s.io/kube-apiserver:v1.27.4",
"registry.k8s.io/kube-apiserver:v1.27.4$my-kube-apiserver",
"registry.k8s.io/kube-apiserver:v1.27.4$my-kube-apiserver:mytag",
"要求:hub-mirror 标签是必选的,标题随意,内容严格按照该 json 格式,每次最多支持转换 11 个镜像",
"错误的镜像都会被跳过",
"请确保 json 格式是正确的,比如下面这个是最后一个,后面是没有逗号的",
"好了,改成你想要转换的镜像吧"
]
}

@togettoyou togettoyou added the hub-mirror 触发 workflow 的必选条件 label Feb 1, 2024
Copy link

github-actions bot commented Feb 1, 2024

docker 版本

docker pull docker.io/hubmirrorbytogettoyou/my-kube-apiserver:v1.27.4 && docker tag docker.io/hubmirrorbytogettoyou/my-kube-apiserver:v1.27.4 registry.k8s.io/kube-apiserver:v1.27.4
docker pull docker.io/hubmirrorbytogettoyou/my-kube-apiserver:mytag && docker tag docker.io/hubmirrorbytogettoyou/my-kube-apiserver:mytag registry.k8s.io/kube-apiserver:v1.27.4
docker pull docker.io/hubmirrorbytogettoyou/registry.k8s.io.kube-apiserver:v1.27.4 && docker tag docker.io/hubmirrorbytogettoyou/registry.k8s.io.kube-apiserver:v1.27.4 registry.k8s.io/kube-apiserver:v1.27.4

containerd 版本(以 k8s.io namespaces 为例)

ctr -n k8s.io image pull docker.io/hubmirrorbytogettoyou/my-kube-apiserver:v1.27.4 && ctr -n k8s.io image tag docker.io/hubmirrorbytogettoyou/my-kube-apiserver:v1.27.4 registry.k8s.io/kube-apiserver:v1.27.4
ctr -n k8s.io image pull docker.io/hubmirrorbytogettoyou/my-kube-apiserver:mytag && ctr -n k8s.io image tag docker.io/hubmirrorbytogettoyou/my-kube-apiserver:mytag registry.k8s.io/kube-apiserver:v1.27.4
ctr -n k8s.io image pull docker.io/hubmirrorbytogettoyou/registry.k8s.io.kube-apiserver:v1.27.4 && ctr -n k8s.io image tag docker.io/hubmirrorbytogettoyou/registry.k8s.io.kube-apiserver:v1.27.4 registry.k8s.io/kube-apiserver:v1.27.4

@github-actions github-actions bot added the success workflow 执行成功 label Feb 1, 2024
Copy link

github-actions bot commented Feb 8, 2024

This issue is stale

@github-actions github-actions bot added the Stale label Feb 8, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hub-mirror 触发 workflow 的必选条件 Stale success workflow 执行成功
Projects
None yet
Development

No branches or pull requests

2 participants
@togettoyou and others