[+] 首次推送
This commit is contained in:
13
run.sh
Normal file
13
run.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
docker pull docker.martin98.com/library/act_runner:latest
|
||||
docker kill gitea_runner
|
||||
docker run \
|
||||
-v $(pwd)/${_AGENT}_config.yaml:/config.yaml \
|
||||
-v $(pwd)/data:/data \
|
||||
-v /var/run/docker.sock:/var/run/docker.sock \
|
||||
-e CONFIG_FILE=/config.yaml \
|
||||
-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/act_runner:latest
|
||||
Reference in New Issue
Block a user