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:
parent
0520a52155
commit
0288751ef5
|
@ -63,6 +63,7 @@
|
||||||
name = "base";
|
name = "base";
|
||||||
url = "https://git.hoyer.xyz";
|
url = "https://git.hoyer.xyz";
|
||||||
tokenFile = config.sops.secrets.forgejo-runner-token.path;
|
tokenFile = config.sops.secrets.forgejo-runner-token.path;
|
||||||
|
settings.container.network = "host";
|
||||||
labels = [
|
labels = [
|
||||||
"ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
|
"ubuntu-latest:docker://gitea/runner-images:ubuntu-latest"
|
||||||
"ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"
|
"ubuntu-22.04:docker://gitea/runner-images:ubuntu-22.04"
|
||||||
|
|
Loading…
Reference in a new issue