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

18 lines
471 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
2023-08-17 12:25:07 -05:00
- run: set
- run: nix build -L .#nixos-runner
2023-08-29 09:09:18 -05:00
- run: nix run .#push-container -- result
2023-08-29 09:16:03 -05:00
env:
REGISTRY: ghcr.io/${{ github.repository_owner }}
REPOSITORY: nixos-runner
USERNAME: ${{ github.actor }}
PASSWORD: ${{ github.token }}