use image tags to identify channels
this works better with registries like hub.docker.com that don't allow nested images
This commit is contained in:
parent
b44f7f85f3
commit
5d9a795ac3
3 changed files with 7 additions and 5 deletions
|
@ -11,11 +11,13 @@ nixos-unstable:
|
|||
extends: .build
|
||||
variables:
|
||||
NIXPKGS_CHANNEL: nixos-unstable
|
||||
IMAGE_TAG: latest
|
||||
|
||||
nixos-18.09:
|
||||
extends: .build
|
||||
variables:
|
||||
NIXPKGS_CHANNEL: nixos-18.09
|
||||
IMAGE_TAG: nixos-18.09
|
||||
|
||||
# ---- templates ---
|
||||
|
||||
|
@ -26,5 +28,5 @@ nixos-18.09:
|
|||
- nix-shell --run .gitlab/push-master
|
||||
variables:
|
||||
NIX_PATH: "nixpkgs=channel:${NIXPKGS_CHANNEL}"
|
||||
REGISTRY_URL: "${CI_REGISTRY_IMAGE}/${NIXPKGS_CHANNEL}"
|
||||
REGISTRY_URL: "${CI_REGISTRY_IMAGE}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue