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
|
|
|
|
container: docker.io/jcollie/nixos-runner:latest
|
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 22:18:25 -05:00
|
|
|
REGISTRY: https://ghcr.io/${{ github.repository_owner }}
|
2023-08-29 09:16:03 -05:00
|
|
|
REPOSITORY: nixos-runner
|
|
|
|
USERNAME: ${{ github.actor }}
|
|
|
|
PASSWORD: ${{ github.token }}
|