nixos-images/.github/workflows/build.yml
2021-06-10 08:10:06 +02:00

21 lines
483 B
YAML

name: "Test"
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: '51 2 * * 0'
jobs:
strategy:
matrix:
tag:
- nixos-21.05
- nixos-unstable
images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixpkgs-unstable.tar.gz
- name: Build image
run: ./build-images.sh "${{matrix.tag}}"