nixin-web/.forgejo/workflows/build-images.yaml

21 lines
599 B
YAML
Raw Normal View History

2024-09-30 14:27:50 +00:00
name: "build demo images"
on:
push:
branches:
- main
jobs:
build:
name: Build NixOS images
runs-on: nixos
2024-09-30 14:27:50 +00:00
steps:
#- name: install sudo
# run: apt-get update && apt-get -y install sudo
2024-09-30 14:27:50 +00:00
- 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
2024-09-30 14:27:50 +00:00
- name: run generator
run: nix-shell -p nixos-generators --run "nixos-generate -c inventory/demo-configuration.nix -f proxmox-lxc"