vrnp/.gitea/workflows/build-image.yml
Paul Brinkmeier d4a5b491cb
Some checks failed
Build image / build-image (pull_request) Failing after 15s
fixup! fixup! fixup! Nix CI tryouts
2025-10-06 00:24:12 +02:00

24 lines
589 B
YAML

name: Build image
on:
pull_request:
jobs:
build-image:
runs-on: node-22-bullseye
container:
env:
USER: node
volumes:
- nix-runner-nix:/nix
- nix-runner-etc-nix:/etc/nix
- nix-runner-home-node:/home/node
options: --user 1000:1000
steps:
- name: Install nix
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
nix build .#image -o image.tar.gz