forgejo: use forgejo-actions-runner
Some checks reported warnings
/ check (push) Has been cancelled

This commit is contained in:
notohh 2023-10-06 23:52:11 -04:00
parent adada17551
commit 5bc22bfb55
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -38,23 +38,25 @@
}; };
}; };
}; };
services.gitea-actions-runner.instances.main = { services.gitea-actions-runner = {
enable = true; package = pkgs.forgejo-actions-runner;
name = config.networking.hostName; instances.sakura = {
url = "https://git.flake.sh"; enable = true;
token = config.sops.secrets.forgejo-runner-token.path; name = config.networking.hostName;
labels = [ url = "https://git.flake.sh";
"debian-latest:docker://node:18-bullseye" token = config.sops.secrets.forgejo-runner-token.path;
"ubuntu-latest:docker://node:18-bullseye" labels = [
#"native:host" "debian-latest:docker://node:18-bullseye"
]; "ubuntu-latest:docker://node:18-bullseye"
hostPackages = with pkgs; [ #"native:host"
bash ];
curl hostPackages = with pkgs; [
coreutils bash
wget curl
gitMinimal coreutils
wget wget
]; gitMinimal
];
};
}; };
} }