nixos-runner/.github/workflows/build.yaml
Jeffrey C. Ollie a86893556c
All checks were successful
continuous-integration/drone/push Build is passing
fix
2023-08-29 09:16:03 -05:00

17 lines
471 B
YAML

name: build nixos-runner
on:
- push
jobs:
build:
runs-on: ubuntu-latest
container: docker.io/jcollie/nixos-runner:latest
steps:
- uses: actions/checkout@v3
- run: set
- run: nix build -L .#nixos-runner
- run: nix run .#push-container -- result
env:
REGISTRY: ghcr.io/${{ github.repository_owner }}
REPOSITORY: nixos-runner
USERNAME: ${{ github.actor }}
PASSWORD: ${{ github.token }}