diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c680d0b..65cc4b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,10 @@ stages: - nix -nix: - image: docker:stable + +nixos: + tags: ["nix"] stage: nix script: - - apk add curl git - - curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --extra-conf "sandbox = false" --init none --no-confirm - - export PATH="${PATH}:/nix/var/nix/profiles/default/bin" - nix flake check - nix build .#dockerImage - ./result | docker load |