add github action
This commit is contained in:
parent
0335e0bc99
commit
4d0c01b15c
1 changed files with 11 additions and 0 deletions
11
.github/workflows/build.yaml
vendored
Normal file
11
.github/workflows/build.yaml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
name: build nixos-runner
|
||||||
|
on:
|
||||||
|
- push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: docker.io/jcollie/nixos-runner:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- run: nix -L build .#nixos-runner
|
||||||
|
- run: nix run .#push-container -- result --registry ghcr.io --repository jcollie/nixos-runner
|
Loading…
Reference in a new issue