This commit is contained in:
plasmagoat 2025-06-08 03:31:29 +02:00
parent a1452a79f1
commit 045f2208dd

View file

@ -53,8 +53,19 @@ jobs:
echo "Testing SSH connection to $NIXOS_BUILER_HOST..." echo "Testing SSH connection to $NIXOS_BUILER_HOST..."
ssh -o StrictHostKeyChecking=yes $NIXOS_BUILER_USER@$NIXOS_BUILER_HOST "echo 'SSH success. Hostname:' && hostname" ssh -o StrictHostKeyChecking=yes $NIXOS_BUILER_USER@$NIXOS_BUILER_HOST "echo 'SSH success. Hostname:' && hostname"
- name: Setup Cachix
run: |
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use plasmagoat
- name: Build NixOS image - name: Build NixOS image
run: nix build .#base --builders "ssh://$NIXOS_BUILER_USER@$NIXOS_BUILER_HOST x86_64-linux ~/.ssh/id_rsa 1 1 kvm" --max-jobs 0 run: |
nix build .#base \
--no-link --print-out-paths \
--builders "ssh://$NIXOS_BUILER_USER@$NIXOS_BUILER_HOST x86_64-linux ~/.ssh/id_rsa 1 1 kvm" \
--max-jobs 0 \
--no-link --print-out-paths \
| cachix push plasmagoat
# - name: Upload image to Proxmox and manage templates # - name: Upload image to Proxmox and manage templates
# run: | # run: |