[*] 删除无用字段

This commit is contained in:
Martin 2025-01-15 15:41:41 +08:00
parent a32e34ee62
commit 06df0e4b4b
2 changed files with 1 additions and 4 deletions

View File

@ -1,10 +1,8 @@
### 部署
```bash
# 配置名称以及Label
echo "export _AGENT=CH.CD.A" >> ~/.bashrc
echo "export _LABEL=CH" >> ~/.bashrc
echo "export _AGENT=CNATON_01" >> ~/.bashrc
source ~/.bashrc
git clone git@git.martin98.com:MartinFarm/act_runner.git
cd act_runner

1
run.sh
View File

@ -11,6 +11,5 @@ docker run \
-e GITEA_INSTANCE_URL=https://git.martin98.com \
-e GITEA_RUNNER_REGISTRATION_TOKEN=1LMGNymS5zvlogNwupiZgZjlr8EZeHqzEnT3tnwL \
-e GITEA_RUNNER_NAME=${_AGENT} \
-e GITEA_RUNNER_LABELS=${_LABEL} \
--name gitea_runner \
-d docker.martin98.com/library/gitea/act_runner:latest