diff --git a/ci/rootfs/s390x-self-hosted-builder/README.md b/ci/rootfs/s390x-self-hosted-builder/README.md index cfc1466..3e70ae8 100644 --- a/ci/rootfs/s390x-self-hosted-builder/README.md +++ b/ci/rootfs/s390x-self-hosted-builder/README.md @@ -36,6 +36,7 @@ $ sudo systemctl daemon-reload $ sudo tee /etc/actions-runner-libbpf repo=/ access_token= +runner_name= ``` Access token should have the repo scope, consult diff --git a/ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner b/ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner index c9d8227..8490703 100755 --- a/ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner +++ b/ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/actions-runner @@ -7,7 +7,7 @@ # # - repo=/ # - access_token= -# +# - runner_name= set -e -u @@ -34,6 +34,7 @@ registration_token=$(jq --raw-output .token "$token_file") --url "https://github.com/$repo" \ --token "$registration_token" \ --labels z15 \ + --name "$runner_name" \ --ephemeral # Run one job.