I've been using this image in Kubernetes, not sure if relevant, but I noticed when I deleted the Pods, the runners were failing to cleanup.
I'm able to reproduce this manually
github@github-runner-6647c669fb-8ntbt:~$ registration_url="https://github.com/${GITHUB_OWNER}"
github@github-runner-6647c669fb-8ntbt:~$ token_url="https://api.github.com/orgs/${GITHUB_OWNER}/actions/runners/registration-token"
github@github-runner-6647c669fb-8ntbt:~$ payload=$(curl -sX POST -H "Authorization: token ${GITHUB_PAT}" "${token_url%/registration-token}/remove-token")
github@github-runner-6647c669fb-8ntbt:~$ REMOVE_TOKEN=$(echo "$payload" | jq .token --raw-output)
github@github-runner-6647c669fb-8ntbt:~$ ./config.sh remove --unattended --token "${REMOVE_TOKEN}"
# Runner removal
Does not exist. Skipping Removing runner from the server
√ Removed .credentials
√ Removed .runner
github@github-runner-6647c669fb-8ntbt:~$
I'm not sure why I'm getting the "Does not exist" error.
Otherwise the image is working well.
I've been using this image in Kubernetes, not sure if relevant, but I noticed when I deleted the Pods, the runners were failing to cleanup.
I'm able to reproduce this manually
I'm not sure why I'm getting the "Does not exist" error.
Otherwise the image is working well.