From 4c6779a89693b5268e3fcd158ecd8aec2e734d75 Mon Sep 17 00:00:00 2001 From: Paweł Dybiec Date: Sun, 27 Aug 2023 20:37:09 +0000 Subject: Move CI to nixos runner --- .gitlab-ci.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to '.gitlab-ci.yml') 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 -- cgit 1.4.1