1
0
Fork 0
Container w/ Drone-Runner-Docker
This repository has been archived on 2023-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Daniel Wolf e020a71774
Build Container Image / build_amd64 (push) Successful in 44s Details
Build Container Image / publish_amd64 (push) Successful in 29s Details
Build Container Image / build_arm64 (push) Successful in 2m41s Details
Build Container Image / publish_arm64 (push) Successful in 46s Details
Build Container Image / build_armhf (push) Successful in 6m46s Details
Build Container Image / build_manifest (push) Successful in 7s Details
Build Container Image / publish_armhf (push) Successful in 2m8s Details
Build Container Image / publish_manifest (push) Successful in 35s Details
use absolute urls for actions
2023-10-11 15:44:30 -04:00
.gitea/workflows use absolute urls for actions 2023-10-11 15:44:30 -04:00
override/etc freshen run script 2023-07-13 13:01:06 -04:00
.dockerignore update dockerignore #noci 2023-07-13 13:00:05 -04:00
.gitignore initial commit 2023-04-22 09:42:25 -04:00
Dockerfile add optional config file to set envvars 2023-04-22 10:35:53 -04:00
LICENSE.md initial commit 2023-04-22 09:42:25 -04:00
README.md redo README and add docker-compose example 2023-07-13 13:00:33 -04:00
docker-compose.yml redo README and add docker-compose example 2023-07-13 13:00:33 -04:00

README.md

Git | Docker | unRAID

Drone CI/CD Runner

This docker image contains the drone-docker-runner for hosting your own CI/CD build environments.

The latest tag points to version 1.8.3 and this is the only image actively being updated. There are tags for older versions, but these may no longer be using the latest Alpine version and packages.

Please note that the runner itself runs as the root user inside the container.

Docker-Compose

This is an example docker-compose file:

services:
  drone_runner:
    image: nephatrine/gitea-runner:latest
    container_name: drone_runner
    environment:
      TZ: America/New_York
      PUID: 1000
      PGID: 1000
      DRONE_RPC_HOST: example.net:8080
      DRONE_RPC_PROTO: http
      DRONE_RPC_SECRET:
      DRONE_RUNNER_NAME: testrunner
    volumes:
      - /mnt/containers/drone_runner:/mnt/config
      - /var/run/docker.sock:/run/docker.sock

Server Configuration

This is the only configuration file you will likely need to be aware of and potentially customize.

  • /mnt/config/etc/drone-runner-config

Modifications to this file will require a service restart to pull in the changes made.