Compare commits
5 commits
d65c94b227
...
2c005c9333
Author | SHA1 | Date | |
---|---|---|---|
2c005c9333 | |||
746598a2bf | |||
89c1d7b8c0 | |||
10976f386b | |||
c99f0fc827 |
2 changed files with 7 additions and 7 deletions
|
@ -3,15 +3,14 @@ on:
|
||||||
- push
|
- push
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: nixos
|
||||||
container: docker.io/jcollie/nixos-runner:latest
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: set
|
- run: set
|
||||||
- run: nix build -L .#nixos-runner
|
- run: nix build -L .#nixos-runner
|
||||||
- run: nix run .#push-container -- result
|
- run: nix run .#push-container -- result
|
||||||
env:
|
env:
|
||||||
REGISTRY: https://git.ocjtech.us/${{ github.repository_owner }}
|
REGISTRY: git.ocjtech.us
|
||||||
REPOSITORY: nixos-runner
|
REPOSITORY: ${{ github.repository_owner }}/nixos-runner
|
||||||
USERNAME: ${{ github.actor }}
|
USERNAME: ${{ github.actor }}
|
||||||
PASSWORD: ${{ github.token }}
|
PASSWORD: ${{ github.token }}
|
||||||
|
|
7
.github/workflows/build.yaml
vendored
7
.github/workflows/build.yaml
vendored
|
@ -3,14 +3,15 @@ on:
|
||||||
- push
|
- push
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker.io/jcollie/nixos-runner:latest
|
runs-on: ubuntu-24.04
|
||||||
|
container: docker.io/jcollie/nixos-runner:64-47000729b
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: set
|
- run: set
|
||||||
- run: nix build -L .#nixos-runner
|
- run: nix build -L .#nixos-runner
|
||||||
- run: nix run .#push-container -- result
|
- run: nix run .#push-container -- result
|
||||||
env:
|
env:
|
||||||
REGISTRY: https://ghcr.io/${{ github.repository_owner }}
|
REGISTRY: ghcr.io
|
||||||
REPOSITORY: nixos-runner
|
REPOSITORY: ${{ github.repository_owner }}/nixos-runner
|
||||||
USERNAME: ${{ github.actor }}
|
USERNAME: ${{ github.actor }}
|
||||||
PASSWORD: ${{ github.token }}
|
PASSWORD: ${{ github.token }}
|
||||||
|
|
Loading…
Reference in a new issue