add action to build demo images
Some checks failed
build demo images / Build NixOS images (push) Failing after 6m13s

This commit is contained in:
Douze Bé 2024-09-30 16:27:50 +02:00
parent a8b15ebfcb
commit 52a9c55a88

View file

@ -0,0 +1,20 @@
name: "build demo images"
on:
push:
branches:
- main
jobs:
build:
name: Build NixOS images
runs-on: debian-latest
steps:
- name: install sudo
run: apt-get update && apt-get -y install sudo
- name: checkout repository
uses: actions/checkout@v4
- name: install nix
uses: https://git.distrilab.fr/nix-clic/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-24.05
- name: run generator
run: nix-shell -p nixos-generators --run "nixos-generate -c inventory/demo-configuration.nix -f proxmox-lxc"