nixos-runner/.github/workflows/build.yaml
2023-04-16 00:33:48 -05:00

13 lines
385 B
YAML

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
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}