vrnp/.gitea/workflows/build-image.yml
Paul Brinkmeier 6ab09ebe99
Some checks failed
Build image / build-image (pull_request) Failing after 22s
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Nix CI tryouts
2025-10-06 00:46:20 +02:00

27 lines
675 B
YAML

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: env | grep NIX
- 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