2023-04-15 19:15:39 -05:00
|
|
|
name: build nixos-runner
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
jobs:
|
|
|
|
build:
|
2024-09-07 23:42:39 -05:00
|
|
|
runs-on: ubuntu-24.04
|
2024-09-07 23:49:42 -05:00
|
|
|
container: docker.io/jcollie/nixos-runner:64-47000729b
|
2023-04-15 19:15:39 -05:00
|
|
|
steps:
|
2024-09-07 23:38:43 -05:00
|
|
|
- uses: actions/checkout@v4
|
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:
|
2024-09-07 23:53:46 -05:00
|
|
|
REGISTRY: ghcr.io
|
|
|
|
REPOSITORY: ${{ github.repository_owner }}/nixos-runner
|
2023-08-29 09:16:03 -05:00
|
|
|
USERNAME: ${{ github.actor }}
|
|
|
|
PASSWORD: ${{ github.token }}
|