Files
nixos/hosts/fw/modules/gitea-runner-image-README.md

1.3 KiB

Gitea Runner Docker Image

This directory contains the Dockerfile for the custom Gitea Actions runner image that includes additional dependencies needed for CI workflows.

Included Tools

  • Base: shivammathur/node:latest (includes Node.js and common development tools)
  • Chrome dependencies: Full Puppeteer/Chromium dependencies for headless browser testing
  • webp: WebP image format tools (cwebp, dwebp)
  • libavif-bin: AVIF image format tools (avifenc, avifdec)

Building the Image

cd hosts/fw/modules
docker build -f gitea-runner.Dockerfile -t git.cloonar.com/infrastructure/gitea-runner:latest .

Pushing to Registry

First, authenticate with your Gitea container registry:

docker login git.cloonar.com

Then push the image:

docker push git.cloonar.com/infrastructure/gitea-runner:latest

Using the Image

The image is already configured in gitea-vm.nix and will be used automatically by the Gitea Actions runners for jobs labeled with ubuntu-latest.

Updating the Image

When you need to add new dependencies:

  1. Edit gitea-runner.Dockerfile
  2. Rebuild the image with the commands above
  3. Push to the registry
  4. Restart the runner VMs: systemctl restart microvm@git-runner-1.service microvm@git-runner-2.service