使用国内镜像仓库来提供(但不限于) docker.io、gcr.io、registry.k8s.io、k8s.gcr.io、quay.io、ghcr.io 等国外镜像加速下载服务
提交 issues,按照 issue 模板内容修改即可
👆 扫码或搜索关注公众号:gopher云原生
-
绑定账号
在
Settings-Secrets and variables-Actions选择New repository secret新建DOCKER_USERNAME(镜像仓库登录名) 和DOCKER_TOKEN(镜像仓库密码)以及DOCKER_REPOSITORY三个 Secrets其中
DOCKER_REPOSITORY配置例子:- 腾讯云:
ccr.ccs.tencentyun.com/[namespace] - 阿里云:
registry.cn-hangzhou.aliyuncs.com/[namespace]
例如我的是:
registry.cn-hangzhou.aliyuncs.com/hubmirrorbytogettoyou - 腾讯云:
-
开启
Settings-General-Features中的Issues功能 -
修改
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






