🔧 chore(runner): allow preset identity overrides via env
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
GITEA_INSTANCE=https://git.mytsl.cn
|
||||
GITEA_TOKEN=
|
||||
DEFAULT_RUNNER_NAME=standard-ubuntu-22
|
||||
DEFAULT_RUNNER_LABEL=ubuntu-22.04:host://ubuntu:22.04,company-server:host://ubuntu:22.04,standard-ubuntu-22:host://ubuntu:22.04
|
||||
|
||||
@@ -21,8 +21,8 @@ services:
|
||||
- ENABLE_BUILDX=false
|
||||
- GITEA_INSTANCE=${GITEA_INSTANCE}
|
||||
- GITEA_TOKEN=${GITEA_TOKEN}
|
||||
- DEFAULT_RUNNER_NAME=standard-ubuntu-22
|
||||
- DEFAULT_RUNNER_LABEL=ubuntu-22.04:host://ubuntu:22.04,company-server:host://ubuntu:22.04,standard-ubuntu-22:host://ubuntu:22.04
|
||||
- DEFAULT_RUNNER_NAME=${DEFAULT_RUNNER_NAME:-standard-ubuntu-22}
|
||||
- DEFAULT_RUNNER_LABEL=${DEFAULT_RUNNER_LABEL:-ubuntu-22.04:host://ubuntu:22.04,company-server:host://ubuntu:22.04,standard-ubuntu-22:host://ubuntu:22.04}
|
||||
|
||||
# 如果需要使用代理,取消下面的注释并修改为你的代理地址
|
||||
# 注意:容器内访问宿主机需要使用 host.docker.internal 或宿主机IP
|
||||
|
||||
Reference in New Issue
Block a user