add github action
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Jeffrey C. Ollie 2023-04-15 19:15:39 -05:00
parent 0335e0bc99
commit 4d0c01b15c
Signed by: jeff
GPG key ID: 6F86035A6D97044E

11
.github/workflows/build.yaml vendored Normal file
View 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