GitLab Runner pulls an x86-64 helper image, not the arm64 helper image on an arm64 compute host
Summary
gitlab-runner pull x86-64 helper image on arm64 kubernetes executor
Steps to reproduce
start k3s on arm64 linux and register runner by helm
.gitlab-ci.yml
deploy:
image: minio/mc
stage: deploy
variables:
GIT_STRATEGY: none
only:
- master
script:
- mc ls
tags:
- kubernetes
Actual behavior
gitlab-runner pull gitlab/gitlab-runner-helper:x86_64-54944146 to start helper
Expected behavior
gitlab-runner pull gitlab/gitlab-runner-helper:arm64-54944146 to start helper
Environment description
K3s Host on Armbian 21.02.3 Buster with Linux 5.10.21-rockchip64
k3s version v1.20.5+k3s1 (355fff30)
go version go1.15.10
config.toml contents
Add your configuration here
Used GitLab Runner version
Using Kubernetes executor with image minio/mc ...
Version: 13.10.0
Git revision: 54944146
Git branch: 13-10-stable
GO version: go1.13.8
Built: 2021-03-21T09:13:25+0000
OS/Arch: linux/arm64
-->
Possible fixes
set helm value with runners.helpers.image=gitlab/gitlab-runner-helper:arm64-54944146