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:14:02 -05:00
|
|
|
secrets:
|
2023-08-29 09:09:18 -05:00
|
|
|
registry: ghcr.io/${{ github.repository_owner }}
|
|
|
|
repository: nixos-runner
|
|
|
|
username: ${{ github.actor }}
|
|
|
|
password: ${{ github.token }}
|