Use nix-ci image with gitea_clone_token for CI builds
ci/woodpecker/tag/woodpecker Pipeline was successful
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:
+4
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user