Skip to content

Build Image

Build Image #3

Workflow file for this run

name: "Build Image"
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
buildMinimal:
name: "Build Minimal"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build .#install-isoConfigurations.minimal
- run: cp ./result/iso/nixos*.iso ./minimal.iso
release:
needs: buildMinimal
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
artifacts: "*.iso"
commit: "main"