feat: add host network setting to forgejo-runner

This commit enables the host network mode setting for the forgejo-runner in the x86_64-linux/mx system. This change facilitates better network performance and easy communication with the host.
This commit is contained in:
Harald Hoyer 2024-06-27 14:23:44 +02:00
parent 0520a52155
commit 0288751ef5

View file

@ -63,6 +63,7 @@
name = "base";
url = "https://git.hoyer.xyz";
tokenFile = config.sops.secrets.forgejo-runner-token.path;
settings.container.network = "host";
labels = [
"ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
"ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"