From ff0dab4b03fa035fa12326c2aebadc4fb7a1c4f3 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Wed, 6 Dec 2023 10:27:29 +0100 Subject: [PATCH] add podman sock to gitea runner --- hosts/fw.cloonar.com/modules/gitea.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/fw.cloonar.com/modules/gitea.nix b/hosts/fw.cloonar.com/modules/gitea.nix index 8e9e9fb..fa959f8 100644 --- a/hosts/fw.cloonar.com/modules/gitea.nix +++ b/hosts/fw.cloonar.com/modules/gitea.nix @@ -124,15 +124,15 @@ in containers.git-runner = { autoStart = true; - ephemeral = true; # because of ssh key + ephemeral = false; # because of ssh key macvlans = [ "vserver" ]; bindMounts = { "/run/secrets/gitea-runner-token" = { hostPath = config.sops.secrets.gitea-runner-token.path; isReadOnly = true; }; - "/var/lib/gitea-runner" = { - hostPath = "/var/lib/gitea-runner/"; + "/run/podman/podman.sock" = { + hostPath = "/run/podman/podman.sock"; isReadOnly = false; }; };