From 4c6779a89693b5268e3fcd158ecd8aec2e734d75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Dybiec?= 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(-) 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 v1.2.3