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:
parent
50b4d08da7
commit
ab7efb366f
2 changed files with 11 additions and 18 deletions
1
.github/workflows/nix.yml
vendored
1
.github/workflows/nix.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
parallel:
|
||||
matrix:
|
||||
- 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
|
||||
- NIXPKGS_CHANNEL:
|
||||
- nixos-20.03
|
||||
- nixos-20.09
|
||||
- nixos-21.05
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue