fix(forgejo-runner): mwee

This commit is contained in:
Kat Inskip 2025-10-13 11:03:07 -07:00
parent e3ad8ea3a2
commit 2531d56d76
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
2 changed files with 16 additions and 12 deletions

View file

@ -42,26 +42,27 @@
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd # tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
tokenFile = config.sops.secrets.forgejo-runner-token.path; tokenFile = config.sops.secrets.forgejo-runner-token.path;
labels = let labels = let
prefix = "docker://ghcr.io/catthehacker/ubuntu:act-";
arches = { arches = {
x86_64-linux = [ x86_64-linux = [
"ubuntu-latest:docker://node:16-bullseye" "ubuntu-latest:${prefix}-latest"
"ubuntu-22.04:docker://node:16-bullseye" "ubuntu-22.04:${prefix}-22.04"
"ubuntu-20.04:docker://node:16-bullseye" "ubuntu-20.04:${prefix}-20.04"
"ubuntu-18.04:docker://node:16-buster" "ubuntu-18.04:${prefix}-18.04"
"nixos-latest:docker://nixos/nix" "nixos-latest:docker://nixos/nix"
"ubuntu-latest-x86_64:docker://node:16-bullseye" "ubuntu-latest-x86_64:${prefix}-latest"
"ubuntu-22.04-x86_64:docker://node:16-bullseye" "ubuntu-22.04-x86_64:${prefix}-22.04"
"ubuntu-20.04_x86_64:docker://node:16-bullseye" "ubuntu-20.04_x86_64:${prefix}-20.04"
"ubuntu-18.04-x86_64:docker://node:16-buster" "ubuntu-18.04-x86_64:${prefix}-18.04"
"nixos-latest-x86_64:docker://nixos/nix" "nixos-latest-x86_64:docker://nixos/nix"
## optionally provide native execution on the host: ## optionally provide native execution on the host:
# "native:host" # "native:host"
]; ];
aarch64-linux = [ aarch64-linux = [
"ubuntu-latest-aarch64:docker://node:16-bullseye" "ubuntu-latest-aarch64:${prefix}-latest"
"ubuntu-22.04-aarch64:docker://node:16-bullseye" "ubuntu-22.04-aarch64:${prefix}-22.04"
"ubuntu-20.04_aarch64:docker://node:16-bullseye" "ubuntu-20.04_aarch64:${prefix}-20.04"
"ubuntu-18.04-aarch64:docker://node:16-buster" "ubuntu-18.04-aarch64:${prefix}-18.04"
"nixos-latest-aarch64:docker://nixos/nix" "nixos-latest-aarch64:docker://nixos/nix"
]; ];
}; };

View file

@ -5,6 +5,9 @@ in {
services.forgejo = { services.forgejo = {
enable = true; enable = true;
settings = { settings = {
DEFAULT = {
APP_NAME = "kittywitch forge";
};
server = { server = {
DOMAIN = domain; DOMAIN = domain;
ROOT_URL = "https://${domain}"; ROOT_URL = "https://${domain}";