This repository build docker image for Forgejo runners.
Github Actions runs task on it's own VM (not Docker container). So you need to build runner images by yourself.
Follow Forgejo Runner installation and install runner.
After enter runner's name, you need to add labels for the runner:
INFO Enter the runner labels, leave blank to use the default labels ...
enter custom runner image name:
ubuntu-22.04:docker://johnroyer/forgejo-runners:ubuntu-2204
then, update workflow and use the custom ubuntu-22.04 image as runner:
on: [push]
jobs:
test:
runs-on: ubuntu-22.04
steps:
I build Ubuntu images first. Every images can be found at Dockerhub: https://hub.docker.com/repository/docker/johnroyer/forgejo-runners
- curl
- git
- gpg-agent
- jq
- nodejs
- python3
- python3-pip
- software-properties-common
- unzip
- zstd
- curl
- git
- gpg-agent
- jq
- nodejs
- python3
- python3-pip
- software-properties-common
- unzip
- zstd
- curl
- git
- gpg-agent
- jq
- nodejs
- python3
- python3-pip
- software-properties-common
- unzip
- zstd
This is a concept prove for now. There are a lot of difference between Github Actions runner. I am trying to find what should be installed in base image and try to make image simple and small:
- Install basic CI/CD tools on Ubuntu base image
- Find which tool version should be installed on different Ubuntu release
- build image for common linux distributions