kube-apiserver

mirrorgcrio/kube-apiserver Docker Image

通过GitHub Action将k8s.gcr.io镜像同步到其他仓库(如docker.io)的工具镜像,支持自定义源和目标仓库,通过创建Issue触发同步,解决k8s.gcr.io访问困难问题。

1 次收藏下载次数: 0状态:社区镜像维护者:mirrorgcrio仓库类型:镜像最近更新:4 年前
下载命令
点击查看

mirror_gcrio2docker_image

Synchronize the k8s.gcr.io image from one registry to another through github action. For example, synchronize the specified docker image under k8s.gcr.io to docker.io.

Usage

Open a new issue, then use the image name to be synchronized as title (The image name needs to be a full name, which means registry and tag cannot be comitted), the content of issue can be empty.

For example: open a new issue with title k8s.gcr.io/kube-apiserver:v1.20.6, Then the github action will automatically pull the image and push it to the https://hub.docker.com/u/mirrorgcrio/, then you can use docker pull mirrorgcrio/kube-state-metrics:latest command to pull the image.

You can view the synchronized docker images through the link below:

https://hub.docker.com/u/mirrorgcrio

Customize action

After fork this repository, check issues in features on the Settings page of the forked repository, then enable GitHub actions on the Actions page, add corresponding secrets as needed, then you can create issue in your forked repository to synchronize the docker image

secrets supported by action

keyvalue
SOURCE_USERNAMEusername of source registry
SOURCE_PASSWORDpassword of source registry
TARGET_REGISTRYtarget registry, default docker.io
TARGET_REPOSITORYtarget repository, default null
TARGET_USERNAMEusername of docker hub
TARGET_PASSWORDpassword or token of docker hub

If the source registry needs to log in

After fork this github repository, add the following secrets:

keyvalue
SOURCE_USERNAMEusername of source registry
SOURCE_PASSWORDpassword of source registry
TARGET_USERNAMEusername of docker hub
TARGET_PASSWORDpassword or token of docker hub

Remarks: If you log in with token on docker hub, you cannot modify the description of the synchronized docker images

For details: https://github.com/peter-evans/dockerhub-description/issues/10

If the target registry is not docker.io

After fork this github repository, add the following secrets:

keyvalue
TARGET_REGISTRYtarget registry, such as ghcr.io
TARGET_REPOSITORYtarget repository, such as test
TARGET_USERNAMEusername of target registry
TARGET_PASSWORDpassword of target registry

Project stats

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 kube-apiserver 镜像标签

docker pull docker.xuanyuan.run/mirrorgcrio/kube-apiserver:<标签>

DockerHub 原生拉取命令

docker pull mirrorgcrio/kube-apiserver:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告