LoongArch64 (loong64) 龙芯架构:GitLab Runner Docker 执行器 帮助镜像 gitlab-runner-helper 不存在

问题

GitLab Runner 使用 Docker 执行期时,提示无法下载 registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:loongarch64-v19.0.1 Docker 镜像

解决方案

[root@anolis ~]# cat /etc/gitlab-runner/config.toml 
......

[[runners]]

  ......

  [runners.docker]
    helper_image = "替换 GitLab Runner Docker 帮助镜像 gitlab-runner-helper"

[root@anolis ~]# 

临时解决方案

在网上只能找到一个历史版本 13.11,与我当前使用 GitLab Runner 版本相差过大,部分功能无法使用

[root@anolis ~]# gitlab-runner -v
Version:      19.0.1
Git revision: c2831b75
Git branch:   19-0-stable
GO version:   go1.26.3
Built:        2026-05-29T16:20:59Z
OS/Arch:      linux/loong64
[root@anolis ~]# 
loongarch64/gitlab-runner-helper:13.11
# 个人同步到国内使用地址:registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/gitlab-runner-helper:13.11

使用 registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/gitlab-runner-helper:13.11 替换 registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:loongarch64-v19.0.1 效果

版本相差过大,无法创建缓存

最终解决办法

自己构建,想用什么版本,就用什么版本

项目地址:GitHub - kubernetes-loong64/gitlab-runner-loong64: This project ports GitLab Runner to the loong64 (LoongArch) architecture | 本项目为 loong64(龙芯架构)构建 GitLab Runner 的基础镜像 · GitHub

kubernetesloong64/gitlab-runner-helper:loongarch64-v19.0.1
# 个人同步到国内使用地址:registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/maven-loong64:3.9.16-17-anolis

使用 registry.cn-qingdao.aliyuncs.com/xuxiaoweicomcn/gitlab-runner-helper:loongarch64-v19.0.1 替换 registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:loongarch64-v19.0.1 效果

正常创建缓存