CI/CD vervollständigen #4

Open
opened 2025-07-08 00:17:07 +02:00 by rollkek · 1 comment
Owner

@langfingaz der runner funktioniert jetzt. werde bald noch den job zum bauen und docker image in registry schicken machen

@langfingaz der runner funktioniert jetzt. werde bald noch den job zum bauen und docker image in registry schicken machen
rollkek self-assigned this 2025-07-08 00:17:07 +02:00
Author
Owner

@langfingaz hier die nixos config ( von https://wiki.nixos.org/wiki/Forgejo#Runner ):

{
  config,
  pkgs,
  ...
}:

{
  # Enable Docker for containerized runners
  virtualisation.docker.enable = true;

  # Configure the Forgejo Actions Runner
  services.gitea-actions-runner = {
    package = pkgs.forgejo-actions-runner;
    instances.default = {
      enable = true;
      name = "forgejo-runner1";
      url = "https://git.h4xx0r.club"; # Replace with your Forgejo URL
      # Token file should contain: TOKEN=your_registration_token_here
      tokenFile = "/var/lib/forgejo-runner/token1";
      labels = [
        # Docker-based runners
        "ubuntu-latest:docker://node:16-bullseye"
        "ubuntu-22.04:docker://node:16-bullseye"
        "ubuntu-20.04:docker://node:16-bullseye"
        "ubuntu-18.04:docker://node:16-buster"
      ];
    };
  };
}
@langfingaz hier die nixos config ( von [https://wiki.nixos.org/wiki/Forgejo#Runner](https://wiki.nixos.org/wiki/Forgejo#Runner) ): ``` { config, pkgs, ... }: { # Enable Docker for containerized runners virtualisation.docker.enable = true; # Configure the Forgejo Actions Runner services.gitea-actions-runner = { package = pkgs.forgejo-actions-runner; instances.default = { enable = true; name = "forgejo-runner1"; url = "https://git.h4xx0r.club"; # Replace with your Forgejo URL # Token file should contain: TOKEN=your_registration_token_here tokenFile = "/var/lib/forgejo-runner/token1"; labels = [ # Docker-based runners "ubuntu-latest:docker://node:16-bullseye" "ubuntu-22.04:docker://node:16-bullseye" "ubuntu-20.04:docker://node:16-bullseye" "ubuntu-18.04:docker://node:16-buster" ]; }; }; } ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hsmr/Tuerschloss#4
No description provided.