Drone build with Nix
This commit is contained in:
parent
085a7cfd26
commit
ca41c481b1
25
.drone.yml
25
.drone.yml
@ -1,13 +1,26 @@
|
|||||||
---
|
---
|
||||||
pipeline:
|
kind: pipeline
|
||||||
build:
|
name: default
|
||||||
image: golang:stretch
|
|
||||||
|
node:
|
||||||
|
nix-daemon: 1
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: nixpkgs/nix:nixos-22.05
|
||||||
commands:
|
commands:
|
||||||
- go get -d -v
|
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .
|
||||||
- go build -v
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- custom
|
||||||
|
- push
|
||||||
|
- pull_request
|
||||||
|
- tag
|
||||||
|
- cron
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 38948cd073f3a0b73ab7bb13ba1b5e18c64c02976abfd6dcd5bf7a4c34197e8c
|
hmac: 7fc9d4362327e769e2454229ceb91f587eb11755f1f96207f733e41cc650f693
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user