docker-nixpkgs/.github/workflows/nix.yml
silverraven691 9bf2f6be8c
Build images for channel nixos-22.05 (#44)
+  Stop building images for nixos-20.09
2022-06-15 17:17:06 +02:00

29 lines
658 B
YAML

name: Nix
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
schedule:
# Run once per day
- cron: '0 0 * * *'
jobs:
build:
strategy:
# Keep building the other channels if one fails
fail-fast: false
matrix:
channel:
- nixos-unstable
- nixos-21.05
- nixos-21.11
- nixos-22.05
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v17
- run: nix-shell --run ./ci.sh
env:
CI_REGISTRY_AUTH: '${{ secrets.REGISTRY_AUTH }}'
NIXPKGS_CHANNEL: '${{ matrix.channel }}'