Use nix-ci image with gitea_clone_token for CI builds
ci/woodpecker/tag/woodpecker Pipeline was successful

The nix-ci entrypoint sets up ~/.netrc from GITEA_CLONE_TOKEN
so Nix can fetch private flake inputs like fleet-pins.
This commit is contained in:
Oleks
2026-03-15 11:56:02 +02:00
parent bf94068432
commit 776a0e23ea
+4 -1
View File
@@ -5,8 +5,11 @@ when:
steps:
- name: build
image: git.oleks.space/oleks/nix-ci:latest
environment:
GITEA_CLONE_TOKEN:
from_secret: gitea_clone_token
commands:
- echo "extra-experimental-features = nix-command flakes" >> /etc/nix/nix.conf
- nixos-ci-entrypoint true
- nix build .#xonsh --no-link --print-out-paths
- nix build .#hello-world --no-link --print-out-paths
backend_options: