name: Build image on: pull_request: jobs: build-image: runs-on: node-22-bullseye container: env: USER: node volumes: - /home/paul/nix-ci/nix-runner-nix:/nix - /home/paul/nix-ci/nix-runner-etc-nix:/etc/nix - /home/paul/nix-ci/nix-runner-home-node:/home/node options: --user 1000:1000 steps: - run: id - run: ls -lah /nix - run: ls -lah /nix/var/nix - run: bash <(curl -L https://nixos.org/nix/install) --help - run: bash <(curl -L https://nixos.org/nix/install) --no-daemon - name: Checkout repo uses: actions/checkout@v4 - run: ls -lah - run: | . ~/.nix-profile/etc/profile.d/nix.sh env | grep NIX nix build .#image -o image.tar.gz