new channel: nixos-19.03 (#1)
This commit is contained in:
parent
e62437e814
commit
f31c910416
6 changed files with 26 additions and 6 deletions
|
@ -16,3 +16,10 @@ nixos-18.09:
|
|||
variables:
|
||||
NIX_PATH: nixpkgs=channel:nixos-18.09
|
||||
IMAGE_TAG: nixos-18.09
|
||||
|
||||
nixos-19.03:
|
||||
stage: build
|
||||
script: nix-shell --run ./.gitlab-ci.sh
|
||||
variables:
|
||||
NIX_PATH: nixpkgs=channel:nixos-19.03
|
||||
IMAGE_TAG: nixos-19.03
|
||||
|
|
|
@ -8,6 +8,8 @@ matrix:
|
|||
env: NIX_PATH=nixpkgs=channel:nixos-unstable IMAGE_TAG=latest
|
||||
- name: nixos-18.09
|
||||
env: NIX_PATH=nixpkgs=channel:nixos-18.09 IMAGE_TAG=nixos-18.09
|
||||
- name: nixos-19.03
|
||||
env: NIX_PATH=nixpkgs=channel:nixos-19.03 IMAGE_TAG=nixos-19.03
|
||||
|
||||
script:
|
||||
- nix-shell --run ./.travis.sh
|
||||
|
|
13
README.md
13
README.md
|
@ -65,7 +65,18 @@ All images are automatically built and pushed to Docker Hub.
|
|||
### Image matrix
|
||||
|
||||
`> ./dockerhub-image-matrix`
|
||||
|
||||
<!-- BEGIN mdsh -->
|
||||
| Image / Tag | latest | nixos-18.09 | nixos-19.03 |
|
||||
| --- | --- | --- | --- |
|
||||
| [nixpkgs/bash](https://hub.docker.com/r/nixpkgs/bash) |  |  |  |
|
||||
| [nixpkgs/busybox](https://hub.docker.com/r/nixpkgs/busybox) |  |  |  |
|
||||
| [nixpkgs/curl](https://hub.docker.com/r/nixpkgs/curl) |  |  |  |
|
||||
| [nixpkgs/docker-compose](https://hub.docker.com/r/nixpkgs/docker-compose) |  |  |  |
|
||||
| [nixpkgs/kubectl](https://hub.docker.com/r/nixpkgs/kubectl) |  |  |  |
|
||||
| [nixpkgs/kubernetes-helm](https://hub.docker.com/r/nixpkgs/kubernetes-helm) |  |  |  |
|
||||
| [nixpkgs/nix](https://hub.docker.com/r/nixpkgs/nix) |  |  |  |
|
||||
| [nixpkgs/nix-unstable](https://hub.docker.com/r/nixpkgs/nix-unstable) |  |  |  |
|
||||
<!-- END mdsh -->
|
||||
| Image / Tag | latest | nixos-18.09 |
|
||||
| --- | --- | --- |
|
||||
| [nixpkgs/bash](https://hub.docker.com/r/nixpkgs/bash) |  |  |
|
||||
|
|
|
@ -21,10 +21,10 @@ microbadge() {
|
|||
|
||||
releases_json=$(nix-instantiate ./release.nix --strict --eval --json)
|
||||
|
||||
echo "| Image / Tag | latest | nixos-18.09 |"
|
||||
echo "| --- | --- | --- |"
|
||||
echo "| Image / Tag | latest | nixos-18.09 | nixos-19.03 |"
|
||||
echo "| --- | --- | --- | --- |"
|
||||
|
||||
for attr in $(echo "$releases_json" | jq -r "keys[]") ; do
|
||||
name=nixpkgs/$attr
|
||||
echo "| [$name](https://hub.docker.com/r/$name) | $(microbadge "$name") | $(microbadge "$name" "nixos-18.09") |"
|
||||
echo "| [$name](https://hub.docker.com/r/$name) | $(microbadge "$name") | $(microbadge "$name" "nixos-18.09") | $(microbadge "$name" "nixos-19.03") |"
|
||||
done
|
||||
|
|
|
@ -12,7 +12,7 @@ _: pkgs: {
|
|||
docker-compose =
|
||||
# master
|
||||
pkgs.docker-compose or
|
||||
# 18.09
|
||||
# 18.09 or later
|
||||
pkgs.python3Packages.docker_compose;
|
||||
};
|
||||
kubectl = pkgs.callPackage ./kubectl {};
|
||||
|
|
|
@ -4,7 +4,7 @@ mkShell {
|
|||
buildInputs = [
|
||||
jq
|
||||
skopeo
|
||||
];
|
||||
] ++ lib.optional (pkgs ? mdsh) pkgs.mdsh;
|
||||
|
||||
shellHook = ''
|
||||
# try to work aroud build issues
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue