This commit is contained in:
parent
eaf9f48c6e
commit
47000729be
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/build.yaml
Normal file
17
.forgejo/workflows/build.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
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 }}
|
Loading…
Reference in a new issue