We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4ee023 commit c6f70ddCopy full SHA for c6f70dd
1 file changed
entrypoint.sh
@@ -26,6 +26,7 @@ deregister_runner() {
26
RUNNER_TOKEN=$(echo "${_TOKEN}" | jq -r .token)
27
fi
28
./config.sh remove --token "${RUNNER_TOKEN}"
29
+ [[ -f "/actions-runner/.runner" ]] && rm -f /actions-runner/.runner
30
exit
31
}
32
@@ -202,9 +203,7 @@ if [[ -n "${_CONFIGURED_ACTIONS_RUNNER_FILES_DIR}" ]]; then
202
203
else
204
echo "Runner reusage is disabled"
205
if [[ ${_DEBUG_ONLY} == "false" ]]; then
- # Make sure there is no remnant runner config, that would break registration
206
- # Cf. https://github.com/myoung34/docker-github-actions-runner/issues/402
207
- rm -f /actions-runner/.runner
208
configure_runner
209
210
0 commit comments