Gitea删除ruuner后,再次启用

从Gitea删除runner,你的runner会记录一个文件 data/.runner 像下面的内容

{
  "WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.",
  "id": 1,
  "uuid": "9915f68d-7d47-4731-b329-aa53ff8ba01f",
  "name": "runner1",
  "token": "276147af85ea87c3fce5caeef0c93012e6486e89",
  "address": "http://192.168.50.117:3000",
  "labels": [
    "runner1:host"
  ]
}

这个文件在runner的容器里面,去删除掉,就会重新注册了

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注