nixos-images/.github/workflows/build.yml

24 lines
554 B
YAML
Raw Normal View History

2021-06-10 08:10:06 +02:00
name: "Test"
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: '51 2 * * 0'
jobs:
images:
2021-06-10 08:10:56 +02:00
strategy:
matrix:
tag:
- nixos-21.05
- nixos-unstable
2021-06-10 08:10:06 +02:00
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}}"
2021-06-10 08:40:28 +02:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}