forgejo blog:

added network config to setting of runner
This commit is contained in:
2005 2024-05-30 06:32:17 +02:00
parent a6e7a1609a
commit 770038eb1c

View file

@ -124,13 +124,18 @@ Forgejo has runners that you can use with workflows to build software on every p
enable = true;
url = "https://git.${config.networking.domain}";
token = "place your token here";
#
settings = {
container = {
# internet access for container
network = "bridge";
};
};
labels = [
"debian-latest:docker://node:18-bullseye"
"ubuntu-latest:docker://node:18-bullseye"
];
# define the hostname so we know what server the runner is on.
name = config.networking.hostName;
name = "${config.networking.hostname}@${config.networking.hostName}";
};
};
}