{"repo":"ioquatix/github-actions-bin","free":true,"listed":false,"github":"https://github.com/ioquatix/github-actions-bin","clone":"git clone https://github.com/ioquatix/github-actions-bin.git","description":"Arch Linux package for GitHub Actions remote runner.","language":"Shell","stars":26,"topics":["arch-linux","gpu","systemd-nspawn","github-actions"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"GitHub Actions Provides an Arch Linux package for the GitHub Actions remote runner. Motivation I wanted to use GitHub Actions remote runner to access the GPU on my server. Because of the security risks of having a public runner instance, I put it inside a systemd-nspawn container. I wanted a convenient way to install the GitHub Actions runner, so I decided to package it up. Installation First, clone the repository: git clone https://aur.archlinux.org/github-actions.git The build and install it: cd github-actions makepkg -sCcfi Configure the daemon: sudo -u github-actions -s bash cd /var/lib/github-actions bin/Runner.Listener configure --token YOUR RUNNER TOKEN exit Then start it up: sudo systemctl enable --now github-actions Usage You might want to combine this with a container. To create a container (including some suggested packages): pacstrap -c github-actions base ruby clang pkg-build vim Then, import it: machinectl import-fs github-actions Configure it: $ cat /etc/systemd/nspawn/github-actions.nspawn [Network] Private=no VirtualEthernet=no [Files] TemporaryFileSystem=/tmp Boot it: sudo systemctl enable --now systemd-nspawn@github-actions.service Attach to the container and install the github-actions package: machinectl shell github-actions cd /tmp sudo -u nobody git clone https://aur.archlinux.org/github-actions.git cd github-actions sudo -u nobody makepkg -fc pacman -U github-actions .pkg.tar Limits Limit the memory consumption of your container to 2 GiB: systemctl set-","default_branch":null,"files":null,"tree":[],"storefront":"/r/ioquatix","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ioquatix/github-actions-bin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}