cachix
This commit is contained in:
parent
a1452a79f1
commit
045f2208dd
1 changed files with 12 additions and 1 deletions
|
|
@ -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: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue