-
绑定账号
-
如果要使用默认的 hub.docker.com 镜像服务
在
Settings
-Secrets and variables
-Actions
选择New repository secret
新建DOCKER_USERNAME
(你的 Docker 用户名) 和DOCKER_TOKEN
(你的 Docker 密码) 两个 Secrets -
如果需要使用其它镜像服务,例如腾讯云、阿里云等
在
Settings
-Secrets and variables
-Actions
选择New repository secret
新建DOCKER_USERNAME
(你的其它镜像服务用户名) 和DOCKER_TOKEN
(你的其它镜像服务密码)以及DOCKER_REPOSITORY
三个 Secrets其中
DOCKER_REPOSITORY
配置例子:- 腾讯云:
ccr.ccs.tencentyun.com/xxxxxx
- 阿里云:
registry.cn-hangzhou.aliyuncs.com/xxxxxx
- 腾讯云:
-
-
在 Fork 的项目中开启
Settings
-General
-Features
中的Issues
功能 -
在 Fork 的项目中修改
Settings
-Actions
-General
中的Workflow permissions
为Read and write permissions
-
在
Issues
-Labels
选择New label
依次添加三个 label :hub-mirror
、success
、failure
-
在
Actions
里选择hub-mirror
,在右边···
菜单里选择Enable Workflow
-
在 Fork 的项目中提交 issues
forked from togettoyou/hub-mirror
-
Notifications
You must be signed in to change notification settings - Fork 0
🚀 通过 GitHub Actions 将 gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像转换为国内镜像加速下载,支持 docker 和 containerd 使用,支持 x86 和 arm 架构
License
yeqianmen/dockerhub-mirror
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
🚀 通过 GitHub Actions 将 gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像转换为国内镜像加速下载,支持 docker 和 containerd 使用,支持 x86 和 arm 架构
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Go 100.0%