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:
|
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 }}
|