version:"3"networks:ops:services:gitea-runner:image:gitea/act_runner:0.2.11container_name:gitea-runnerenvironment:CONFIG_FILE:/config.yamlGITEA_INSTANCE_URL:"http://192.168.2.199:3000"GITEA_RUNNER_REGISTRATION_TOKEN:"xxxxxxxxxxxxxxxxxxxxxxx"GITEA_RUNNER_NAME:"${HOSTNAME}"volumes:-/data/gitea-runner...
gitea runner创建 新生代农名工关注IP属地: 江苏 2024.05.19 17:58:13字数 108阅读 539 1、创建config.yaml文件,并写入内容 启用cache: enabled: true host: "192.168.2.50" 服务器地址 port: 11223 重要,需要记住 # Example configuration file, it's safe to copy this as the default config file without...
Description Overview Version All my services are on Docker. Gitea Instance: gitea/gitea:1.22.1, name: gitea, port: 3000 Act_runner Instance: gitea/act_runner:0.2.10, name: gitea-runner, port: 9040(for cache server) Job Container: cattheh...
will use labels in `.runner` file.labels:[]cache:# Enable cache server to use actions/cache.enabled:true# The directory to store the cache data.# If it's empty, the cache data will be stored in $HOME/.cache/actcache.dir:""# The host of the cache server....
因为gitea 没有集成这种 CI、CD 的工具,所以说要单独安装一个 act runner 实现持续集成、持续部署的功能。 token 需要在 gitea 平台处随机生成,官方文档 获取注册令牌 Runner 级别决定了从哪里获取注册令牌。 {% mark 实例级别 %}:管理员设置页面,例如 <your_gitea.com>/admin/runners。
{ secrets.GIT_TOKEN }} - run: cp .env.ci .env - uses: actions/setup-go@v3 with: go-version: '1.23' - uses: seepine/hash-files@v1 id: get-hash with: patterns: composer.lock - uses: actions/cache@v4 with: path: vendor key: ${{ runner.os }}-composer-${{ steps.get-hash....
参考:https://docs.drone.io/runner/docker/installation/linux/ 4.安装私有镜像仓库 docker run -d -e ENV_DOCKER_REGISTRY_HOST=192.168.31.79 -e ENV_DOCKER_REGISTRY_PORT=5000 -p 9000:80 konradkleine/docker-registry-frontend:v2 #docker.json添加仓库 "insecure-registries": [ "192.168.31.79:5000" ]...
这里我们通过使用 Docker Compose 来构建并启动 Drone和 Docker Runner,编写 docker-compose.yml 文件 $ mkdir drone$cd drone$ vim docker-compose.yml 在配置文件中,我们设置 docker-compose.yml 的格式为 3 号版本,定义以下两个docker服务。Drone Server:使用drone/drone:1版本镜像,将 drone 容器的 80 端口...
# 服务域名 SERVICE_DOMAIN=runner.nuc.com # 使用的应用镜像 DOCKER_IMAGE=drone/drone-runner-docker:1.6.3 # Drone 服务端和 Runner 之间通讯秘钥 DRONE_RPC_SECRET=YOUR_RANDOM_KEY # Runner 最大并发数量,根据自己需求来 DRONE_RUNNER_CAPACITY=2 # Drone 服务配置域名 DRONE_SERVER_DOMAIN=drone.nuc.com ...
drone-runner: image: drone/drone-runner-docker container_name: drone-runner depends_on: - drone-server volumes: - /var/run/docker.sock:/var/run/docker.sock restart: always environment: - DRONE_RPC_PROTO=http - DRONE_RPC_HOST=drone-server-api:8080 ...