Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
74cee1e1e3 fix: use escaped NIKS3_REPO_NAME for pin name
All checks were successful
/ build (push) Successful in 40s
2026-07-13 16:27:10 +02:00
ab5b8f7a92 feat: add niks3 to ci
Some checks failed
/ build (push) Failing after 33s
2026-07-13 16:04:44 +02:00

View file

@ -7,8 +7,16 @@ jobs:
runs-on: [ nix ]
steps:
- uses: actions/checkout@v4
- name: niks3 setup
uses: https://git.tami.moe/actions/niks3-upload@main
with:
token: ${{ secrets.NIKS3_TOKEN }}
- name: Nix build
run: nix build --extra-experimental-features "flakes nix-command" .#docker-image
run: |
nix build --extra-experimental-features "flakes nix-command" .#deps
niks3 push --pin "$NIKS3_REPO_NAME.deps" $(readlink result)
nix build --extra-experimental-features "flakes nix-command" .#docker-image
niks3 push --pin "$NIKS3_REPO_NAME.container" $(readlink result)
- name: Setup skopeo
run: curl -o /etc/containers/policy.json --create-dirs https://raw.githubusercontent.com/containers/skopeo/refs/heads/main/default-policy.json
- name: Push Image