Installation of runner using script in Fedora 41 fails

Summary

Using the shell command to install the runner as provided in the instructions https://docs.gitlab.com/runner/install/linux-repository/?tab=RHEL%2FCentOS%2FFedora%2FAmazon+Linux fails with the following error:

>>> Librepo error: repomd.xml GPG signature verification error: Signing key not found                                                                                                         

Steps to reproduce

  1. Create a fresh Fedora 41 machine
  2. curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh" | sudo bash

Relevant logs and/or screenshots

curl -L "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh" | sudo bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7983  100  7983    0     0  28936      0 --:--:-- --:--:-- --:--:-- 29029
Detected operating system as fedora/41.
Checking for curl...
Detected curl...
Downloading repository file: https://packages.gitlab.com/install/repositories/runner/gitlab-runner/config_file.repo?os=fedora&dist=41&source=script
done.
Installing yum-utils...
Updating and loading repositories:
 Fedora 41 openh264 (From Cisco) - x86_64                                                                                                             100% |   6.6 KiB/s |   6.0 KiB |  00m01s
 Fedora 41 - x86_64                                                                                                                                   100% |   4.1 MiB/s |  36.3 MiB |  00m09s
 Fedora 41 - x86_64 - Updates                                                                                                                         100% |   4.5 MiB/s |  11.4 MiB |  00m03s
 runner_gitlab-runner-source                                                                                                                          100% |   1.5 KiB/s |   1.8 KiB |  00m01s
>>> Librepo error: repomd.xml GPG signature verification error: Signing key not found                   

Environment description

Fedora 41