🔧 参数化实例配置并补充 preset env 示例

This commit is contained in:
csh
2026-05-22 09:45:35 +08:00
parent ac05621817
commit a4d09c9063
12 changed files with 90 additions and 18 deletions
@@ -0,0 +1,2 @@
GITEA_INSTANCE=https://git.mytsl.cn
GITEA_TOKEN=
@@ -21,8 +21,8 @@ services:
# Arch Linux Buildx 配置 - 使用 tonistiigi/binfmt
- ENABLE_BUILDX=true
- BINFMT_METHOD=tonistiigi
- GITEA_INSTANCE=https://git.mytsl.cn
- GITEA_TOKEN=
- GITEA_INSTANCE=${GITEA_INSTANCE}
- GITEA_TOKEN=${GITEA_TOKEN}
- DEFAULT_RUNNER_NAME=buildx-archlinux
- DEFAULT_RUNNER_LABEL=archlinux:host://archlinux:latest,company-server:host://archlinux:latest,buildx-archlinux:host://archlinux:latest
@@ -0,0 +1,2 @@
GITEA_INSTANCE=https://git.mytsl.cn
GITEA_TOKEN=
@@ -20,8 +20,8 @@ services:
# Buildx 配置 - 启用多架构构建
- ENABLE_BUILDX=true
- GITEA_INSTANCE=https://git.mytsl.cn
- GITEA_TOKEN=
- GITEA_INSTANCE=${GITEA_INSTANCE}
- GITEA_TOKEN=${GITEA_TOKEN}
- DEFAULT_RUNNER_NAME=buildx-ubuntu-22
- DEFAULT_RUNNER_LABEL=ubuntu-22.04:host://ubuntu:22.04,company-server:host://ubuntu:22.04,buildx-ubuntu-22:host://ubuntu:22.04
@@ -0,0 +1,2 @@
GITEA_INSTANCE=https://git.mytsl.cn
GITEA_TOKEN=
@@ -18,8 +18,8 @@ services:
# Standard 配置 - 不启用 Buildx
- ENABLE_BUILDX=false
- GITEA_INSTANCE=https://git.mytsl.cn
- GITEA_TOKEN=
- 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