Deepak Mallubhotla 627e89236e
All checks were successful
Build and Deploy / nix-check (push) Successful in 4m41s
Build and Deploy / build-deploy-ubuntu (push) Successful in 11m41s
try this
2025-09-17 19:34:16 -05:00
2025-09-17 19:34:16 -05:00
2025-09-17 18:37:23 -05:00
2025-03-20 20:21:34 -05:00
2025-03-21 12:01:10 -05:00
2025-03-21 23:43:23 -05:00
2025-09-17 18:41:14 -05:00
2025-03-21 12:01:10 -05:00
2025-09-17 17:12:14 -05:00
2025-09-17 16:34:14 -05:00
2025-03-21 12:01:10 -05:00
2025-03-20 20:21:34 -05:00
2025-09-17 18:41:14 -05:00

Nix Image Builder for Gitea Actions Runner

A Docker image builder for creating a Gitea Actions runner that includes Nix package manager and essential tools.

Purpose

This project builds a Docker image that can be used as a Gitea Actions runner in a Kubernetes cluster. It comes with Nix pre-installed and configured, allowing for reproducible builds and consistent CI environments.

Features

  • Based on Nix's pure Docker image
  • Includes Nix package manager
  • Contains essential development tools (git, curl, etc.)
  • Docker-in-Docker capability for container builds
  • Optimized for Kubernetes deployment

Usage

Build the image

# Build the Docker image
just build

# Load the image into Docker
just load

# Or do both in one step
just build-load

Running the image

To run the image locally for testing:

docker run -it --rm gitea-act-runner:latest

Deploying to Kubernetes

The image is designed to be used as a Gitea Actions runner in a Kubernetes cluster. You can configure your Gitea instance to use this runner for CI/CD pipelines.

Development

This project uses the Nix flake system for development. Make sure you have Nix installed with flakes enabled.

# Enter development shell
nix develop

# Run formatter
just fmt

# Run tests
just test
Description
Docker image providing Nix which can be used by Gitea/Github Actions
Readme 180 KiB
Languages
Shell 52.4%
Nix 36.2%
Just 11.4%