diff --git a/linux/scripts/entrypoint.sh b/linux/scripts/entrypoint.sh index 9f0f6ac..e6f05b9 100644 --- a/linux/scripts/entrypoint.sh +++ b/linux/scripts/entrypoint.sh @@ -67,7 +67,7 @@ cleanup() { echo "Removing runner..." # token is only valid for 1h, so it needs to be re-queried # https://github.com/actions/runner/discussions/1799#discussioncomment-2747605 - REG_TOKEN=$(curl --fail-with-body -X POST -H "Authorization: token ${TOKEN}" -H "Accept: application/vnd.github+json" "$REQ_TOKEN_URL" | jq .token --raw-output) + REG_TOKEN=$(curl --fail-with-body -X POST -H "Authorization: token ${TOKEN}" -H "Accept: application/vnd.github+json" "${REQ_TOKEN_URL}" | jq .token --raw-output) ./config.sh remove --token "${REG_TOKEN}" }