mirror of
https://github.com/nix-community/docker-nixpkgs.git
synced 2026-01-11 12:30:36 -05:00
hi
This commit is contained in:
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}"
|
||||
|
||||
Reference in New Issue
Block a user