nixos-runner/.github/workflows/build.yaml

14 lines
385 B
YAML
Raw Normal View History

2023-04-15 19:15:39 -05:00
name: build nixos-runner
on:
- push
jobs:
build:
runs-on: ubuntu-latest
2023-04-15 23:08:34 -05:00
container: docker.io/jcollie/nixos-runner:latest
2023-04-15 19:15:39 -05:00
steps:
2023-04-15 22:17:03 -05:00
- uses: actions/checkout@v3
- run: nix -L build .#nixos-runner
- run: nix run .#push-container -- result --registry ghcr.io --repository jcollie/nixos-runner
2023-04-16 00:33:48 -05:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}