Avoid creating new action runner token after each update #323
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every time I update my gitea act runner, the runner can’t connect to the gitea instance anymore, because the token has already been used.
I use docker compose to run the runner:
Maybe a reusable register token can resolve it.
Or preserve the volume of the
.runnerfile@ChristopherHX Thanks for the hint! Maybe this should be added to the README file, so others know about this (I think there is no scenario, where someone does not want this) 🤔
It is mentioned in the docker example and the docker compose example. Though less explicitly in the second one.
@TheZoker
Maybe you need https://docs.gitea.com/next/usage/actions/act-runner#%E4%BD%BF%E7%94%A8-docker-compose-%E8%BF%90%E8%A1%8C-runner
And https://gitea.com/gitea/act_runner/pulls/118#issue-193685