fix gitea runner config not being applied

This commit is contained in:
Cyryl Płotnicki 2023-08-19 11:59:00 +01:00
parent c90629aeb3
commit 21ce077144

View file

@ -44,10 +44,10 @@ in {
labels = [ labels = [
"flakes-action:docker://git.cyplo.dev/cyplo/base-images/flakes-action:latest" "flakes-action:docker://git.cyplo.dev/cyplo/base-images/flakes-action:latest"
"ubuntu-kinetic:docker://ubuntu:kinetic" "ubuntu-kinetic:docker://ubuntu:kinetic"
"linux_amd64:host" # compat with github actions "linux_amd64:host"
]; ];
}; };
}; };
environment.etc."gitea-actions-runner/config".text = builtins.readFile ./gitea-runner-config; environment.etc."gitea-actions-runner/config".text = builtins.readFile ./gitea-runner-config;
systemd.services.gitea-runner-bolty1.serviceConfig.ExecStart = lib.mkForce "${package}/bin/act_runner -c /etc/gitea-actions-runner/config daemon"; systemd.services.gitea-runner-boltyone.serviceConfig.ExecStart = lib.mkForce "${package}/bin/act_runner -c /etc/gitea-actions-runner/config daemon";
} }