🚀 Docker 镜像代理,通过 GitHub Actions 将 docker.io、gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像转换为国内镜像加速下载
Go
1,177
78 commits
updated Feb 25, 2025
使用国内镜像仓库来提供(但不限于) docker.io、gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像加速下载服务
示例:https://github.com/togettoyou/hub-mirror/issues/2816
👆 扫码或搜索关注公众号:gopher云原生
Fork 该项目,后续所有操作都在你 Fork 的仓库中进行。
进入 Settings → Secrets and variables → Actions
选择 New repository secret,并添加以下 Secrets:
DOCKER_USERNAME:镜像仓库登录名DOCKER_TOKEN:镜像仓库密码DOCKER_REPOSITORY:镜像仓库地址其中 DOCKER_REPOSITORY 示例:
ccr.ccs.tencentyun.com/[namespace]registry.cn-hangzhou.aliyuncs.com/[namespace]例如我的是:registry.cn-hangzhou.aliyuncs.com/hubmirrorbytogettoyou
🔹 示例截图
Settings → General → FeaturesIssues🔹 示例截图
Settings → Actions → GeneralWorkflow permissions 选项中,选择:
Read and write permissions🔹 示例截图
进入 Issues → Labels
点击 New label
依次添加以下 Labels:
hub-mirrorsuccessfailure🔹 示例截图
Actionshub-mirror··· 菜单中选择 Enable Workflow🔹 示例截图
Fork 的仓库 Issues 页面,点击 New issuehub-mirror 模板,填写所需信息并提交🔹 示例截图
132 followers · starred Mar 2024
213 followers · starred Jul 2022
154 followers · starred Feb 2023
78 followers · starred Jul 2025
🚀 Docker 镜像代理,通过 GitHub Actions 将 docker.io、gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像转换为国内镜像加速下载
Go
1,177
78 commits
updated Feb 25, 2025
使用国内镜像仓库来提供(但不限于) docker.io、gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像加速下载服务
示例:https://github.com/togettoyou/hub-mirror/issues/2816
👆 扫码或搜索关注公众号:gopher云原生
Fork 该项目,后续所有操作都在你 Fork 的仓库中进行。
进入 Settings → Secrets and variables → Actions
选择 New repository secret,并添加以下 Secrets:
DOCKER_USERNAME:镜像仓库登录名DOCKER_TOKEN:镜像仓库密码DOCKER_REPOSITORY:镜像仓库地址其中 DOCKER_REPOSITORY 示例:
ccr.ccs.tencentyun.com/[namespace]registry.cn-hangzhou.aliyuncs.com/[namespace]例如我的是:registry.cn-hangzhou.aliyuncs.com/hubmirrorbytogettoyou
🔹 示例截图
Settings → General → FeaturesIssues🔹 示例截图
Settings → Actions → GeneralWorkflow permissions 选项中,选择:
Read and write permissions🔹 示例截图
进入 Issues → Labels
点击 New label
依次添加以下 Labels:
hub-mirrorsuccessfailure🔹 示例截图
Actionshub-mirror··· 菜单中选择 Enable Workflow🔹 示例截图
Fork 的仓库 Issues 页面,点击 New issuehub-mirror 模板,填写所需信息并提交🔹 示例截图
132 followers · starred Mar 2024
213 followers · starred Jul 2022
154 followers · starred Feb 2023
78 followers · starred Jul 2025