From 4d0c01b15cc1d82a9b77419c29249748bc67cc27 Mon Sep 17 00:00:00 2001 From: "Jeffrey C. Ollie" Date: Sat, 15 Apr 2023 19:15:39 -0500 Subject: [PATCH] add github action --- .github/workflows/build.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..978a6be --- /dev/null +++ b/.github/workflows/build.yaml @@ -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