nixos-runner/.forgejo/workflows/build.yaml
Jeffrey C. Ollie 2062ace72b
All checks were successful
build nixos-runner / build (push) Successful in 22m26s
update workflows
2024-09-08 00:23:15 -05:00

21 lines
681 B
YAML

name: build nixos-runner
on:
- push
jobs:
build:
runs-on: nixos
steps:
- uses: actions/checkout@v4
- run: nix build -L .#nixos-runner
- run: nix run .#push-container -- result
env:
REGISTRY: git.ocjtech.us
REPOSITORY: ${{ github.repository_owner }}/nixos-runner
USERNAME: ${{ github.actor }}
PASSWORD: ${{ github.token }}
- run: nix run .#push-container -- result
env:
REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
REPOSITORY: ${{ secrets.DOCKER_USERNAME }}/nixos-runner
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}