nixos-runner/.forgejo/workflows/build.yaml
Jeffrey C. Ollie 47000729be
All checks were successful
continuous-integration/drone/push Build is passing
add forgejo workflow
2024-09-07 23:11:43 -05:00

17 lines
486 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@v4
- run: set
- run: nix build -L .#nixos-runner
- run: nix run .#push-container -- result
env:
REGISTRY: https://git.ocjtech.us/${{ github.repository_owner }}
REPOSITORY: nixos-runner
USERNAME: ${{ github.actor }}
PASSWORD: ${{ github.token }}