forked from github-mirror/docker-nixpkgs
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:
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
|
||||
|
||||
Reference in New Issue
Block a user