changed container source
Validate NixOS Config / validate (push) Failing after 18s

This commit is contained in:
2024-08-24 16:36:20 +00:00
parent 456cafe18b
commit 5e2b6ec74d
2 changed files with 1 additions and 14 deletions
@@ -11,9 +11,6 @@ on:
jobs:
validate:
runs-on: nixos # This assumes you have a runner with the "flakes-action" label
container:
image: nixos/nix:latest
entrypoint: ["/etc/gitea-runner-entrypoint.sh"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
+1 -11
View File
@@ -41,16 +41,6 @@
};
environment.etc."gitea-runner-entrypoint.sh" = {
mode = "0755";
text = ''
#!/bin/sh
exec sleep 10"
'';
};
# Enable OpenSSH
services.sshd.enable = true;
@@ -66,7 +56,7 @@
name = "runner1";
enable = true;
labels = [ "ubuntu-latest:docker://ubuntu:latest"
"nixos:docker://nixos/nix:latest"
"nixos:docker://nixpkgs/nix-flakes:latest"
];
};
};