[*] 删除无用字段
This commit is contained in:
parent
a32e34ee62
commit
06df0e4b4b
@ -1,10 +1,8 @@
|
|||||||
### 部署
|
### 部署
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
||||||
# 配置名称以及Label
|
# 配置名称以及Label
|
||||||
echo "export _AGENT=CH.CD.A" >> ~/.bashrc
|
echo "export _AGENT=CNATON_01" >> ~/.bashrc
|
||||||
echo "export _LABEL=CH" >> ~/.bashrc
|
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
git clone git@git.martin98.com:MartinFarm/act_runner.git
|
git clone git@git.martin98.com:MartinFarm/act_runner.git
|
||||||
cd act_runner
|
cd act_runner
|
||||||
|
1
run.sh
1
run.sh
@ -11,6 +11,5 @@ docker run \
|
|||||||
-e GITEA_INSTANCE_URL=https://git.martin98.com \
|
-e GITEA_INSTANCE_URL=https://git.martin98.com \
|
||||||
-e GITEA_RUNNER_REGISTRATION_TOKEN=1LMGNymS5zvlogNwupiZgZjlr8EZeHqzEnT3tnwL \
|
-e GITEA_RUNNER_REGISTRATION_TOKEN=1LMGNymS5zvlogNwupiZgZjlr8EZeHqzEnT3tnwL \
|
||||||
-e GITEA_RUNNER_NAME=${_AGENT} \
|
-e GITEA_RUNNER_NAME=${_AGENT} \
|
||||||
-e GITEA_RUNNER_LABELS=${_LABEL} \
|
|
||||||
--name gitea_runner \
|
--name gitea_runner \
|
||||||
-d docker.martin98.com/library/gitea/act_runner:latest
|
-d docker.martin98.com/library/gitea/act_runner:latest
|
Loading…
x
Reference in New Issue
Block a user