13 lines
385 B
YAML
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 }}
|