Docker image based on debian:stable-slim to run Gitea's act_runner as a Docker container
Go to file
sebthom fd83c3ffe7 initial import 2023-03-22 00:02:54 +01:00
.github initial import 2023-03-22 00:02:54 +01:00
image initial import 2023-03-22 00:02:54 +01:00
.dockerignore initial import 2023-03-22 00:02:54 +01:00
.editorconfig initial import 2023-03-22 00:02:54 +01:00
.gitattributes initial import 2023-03-22 00:02:54 +01:00
.gitignore initial import 2023-03-22 00:02:54 +01:00
CODE_OF_CONDUCT.md initial import 2023-03-22 00:02:54 +01:00
CONTRIBUTING.md initial import 2023-03-22 00:02:54 +01:00
LICENSE.txt initial import 2023-03-22 00:02:54 +01:00
README.md initial import 2023-03-22 00:02:54 +01:00
build-image.sh initial import 2023-03-22 00:02:54 +01:00

README.md

vegardit/gitea-act-runner

Build Status License Docker Pulls Docker Stars Contributor Covenant

  1. What is it?
  2. License

What is it?

debian:stable-slim based Docker image containing Gitea's act_runner

Usage

Example docker-compose.yml:

version: '3.8' # https://docs.docker.com/compose/compose-file/compose-versioning/

services:

  gitea_act_runner:
    image: vegardit/gitea-act-runner:latest
    #image: ghcr.io/vegardit/gitea-act-runner:latest
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:rw
      - /my/path/to/data/dir:/data:rw # the config file is located at /data/.runner and needs to survive container restarts
    environment:
      TZ: "Europe/Berlin"
      # config parameters for initial runner registration:
      GITEA_INSTANCE_URL: 'https://gitea.example.com' # required
      GITEA_INSTANCE_INSECURE: '0' # optional, default is 0
      GITEA_RUNNER_REGISTRATION_TOKEN_FILE: 'path/to/file' # only required on first container start
      # or: GITEA_RUNNER_REGISTRATION_TOKEN: '<INSERT_TOKEN_HERE>'
      GITEA_RUNNER_NAME: '' # optional, defaults to the container's hostname
      GITEA_RUNNER_LABELS: '' # optional
      GITEA_RUNNER_UID: 1200 # optional, default is 1000
      GITEA_RUNNER_GID: 1200 # optional, default is 1000
    deploy:
      restart_policy:
        condition: on-failure
        delay: 5s

License

All files in this repository are released under the Apache License 2.0.

Individual files contain the following tag instead of the full license text:

SPDX-License-Identifier: Apache-2.0

This enables machine processing of license information based on the SPDX License Identifiers that are available here: https://spdx.org/licenses/.