Build images for channel nixos-21.05 (#23)

* Gitlab CI: Build images for channel nixos-21.05

* GH Actions: Build images for channel nixos-21.05
This commit is contained in:
silverraven691 2021-09-06 21:56:38 +02:00 committed by GitHub
parent 50b4d08da7
commit ab7efb366f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 18 deletions

View file

@ -18,6 +18,7 @@ jobs:
- nixos-unstable
- nixos-20.09
- nixos-20.03
- nixos-21.05
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

View file

@ -1,23 +1,15 @@
image: nixpkgs/nix:nixos-20.03
stages:
- build
nixos-unstable:
build:
stage: build
image: nixpkgs/nix:nixos-20.03
script: nix-shell --run ./ci.sh
variables:
NIXPKGS_CHANNEL: nixos-unstable
IMAGE_TAG: latest
nixos-20.03:
stage: build
script: nix-shell --run ./ci.sh
variables:
NIXPKGS_CHANNEL: nixos-20.03
nixos-20.09:
stage: build
script: nix-shell --run ./ci.sh
variables:
NIXPKGS_CHANNEL: nixos-20.09
parallel:
matrix:
- NIXPKGS_CHANNEL: nixos-unstable
IMAGE_TAG: latest
- NIXPKGS_CHANNEL:
- nixos-20.03
- nixos-20.09
- nixos-21.05