当前位置:   article > 正文

解决无法拉取镜像 registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper

gitlab-runner-helper
  1. gitlab-runner-helper 是 Gitlab、GitLab Runner、kubernetes(k8s)等配置时所需 docker 镜像
  2. registry.gitlab.com 域名是 gitlab 官方 docker 镜像,国内访问较慢。
  3. gitlab 官方发布到 hub.docker.com 中的镜像较少(截止2023-01-09,已经有6个月未更新了),参见:https://hub.docker.com/r/gitlab/gitlab-runner-helper
  4. https://gitlab.com/xuxiaowei-com-cn/gitlab-runner-helper 仓库为本人创建的用于将 registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper 中的镜像拉取后推送到 https://hub.docker.com/r/xuxiaoweicomcn/gitlab-runner-helper,未做任何修改
  5. 由于拉取的版本主要来源于 https://gitlab.com/gitlab-org/gitlab-runner/ 的标签(少量来源于网络上的 sha),可能不存在某些某些以 sha 结尾的版本,可以选择与 gitlab 或 gitlab runner 接近的版本,或者在 https://gitlab.com/xuxiaowei-com-cn/gitlab-runner-helper 上创建 议题 issues 或 PR
  6. 使用时只需要将 registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-v15.6.0 修改为 xuxiaoweicomcn/gitlab-runner-helper:x86_64-v15.6.0 ,具体 k8s 修改,参见:8、GitLab Runner、kubernetes(k8s)配置
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/寸_铁/article/detail/883183
推荐阅读
相关标签
  

闽ICP备14008679号