hi
This commit is contained in:
commit
b44f7f85f3
16 changed files with 302 additions and 0 deletions
30
.gitlab-ci.yml
Normal file
30
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
image: nixos/nix:latest
|
||||
|
||||
stages:
|
||||
- build
|
||||
- publish
|
||||
|
||||
before_script:
|
||||
- nix-shell --run .gitlab/docker-login
|
||||
|
||||
nixos-unstable:
|
||||
extends: .build
|
||||
variables:
|
||||
NIXPKGS_CHANNEL: nixos-unstable
|
||||
|
||||
nixos-18.09:
|
||||
extends: .build
|
||||
variables:
|
||||
NIXPKGS_CHANNEL: nixos-18.09
|
||||
|
||||
# ---- templates ---
|
||||
|
||||
.build:
|
||||
stage: build
|
||||
script:
|
||||
- nix-shell --run ./build
|
||||
- nix-shell --run .gitlab/push-master
|
||||
variables:
|
||||
NIX_PATH: "nixpkgs=channel:${NIXPKGS_CHANNEL}"
|
||||
REGISTRY_URL: "${CI_REGISTRY_IMAGE}/${NIXPKGS_CHANNEL}"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue