summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-10-24 10:55:20 +0200
committerMatthias Beyer <mail@beyermatthias.de>2021-10-24 11:10:48 +0200
commitbd06a1567c604bb65fec9ca04f8d6dae387064e3 (patch)
tree690db5cd184a750e7e544fb850cfb605124babed
parent871d57e634650b7f29fcd74483da6e5282aa9290 (diff)
woodpecker: Add builds using nix
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--.woodpecker/ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.woodpecker/ci.yml b/.woodpecker/ci.yml
index 8b1a2bd..2e849e9 100644
--- a/.woodpecker/ci.yml
+++ b/.woodpecker/ci.yml
@@ -9,6 +9,17 @@ pipeline:
when:
event: [ push, pull_request ]
+ nix-build:
+ image: nixos/nix
+ commands:
+ - nix-build ./default.nix -A ${SERVICE}Image
+
+ nix-build-config:
+ image: nixos/nix
+ commands:
+ - nix-build ./default.nix -A config
+
+
matrix:
SERVICE:
- hello