Compare commits
2 commits
pr-debug-t
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 74cee1e1e3 | |||
| ab5b8f7a92 |
1 changed files with 9 additions and 1 deletions
|
|
@ -7,8 +7,16 @@ jobs:
|
||||||
runs-on: [ nix ]
|
runs-on: [ nix ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: niks3 setup
|
||||||
|
uses: https://git.tami.moe/actions/niks3-upload@main
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.NIKS3_TOKEN }}
|
||||||
- name: Nix build
|
- 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
|
- name: Setup skopeo
|
||||||
run: curl -o /etc/containers/policy.json --create-dirs https://raw.githubusercontent.com/containers/skopeo/refs/heads/main/default-policy.json
|
run: curl -o /etc/containers/policy.json --create-dirs https://raw.githubusercontent.com/containers/skopeo/refs/heads/main/default-policy.json
|
||||||
- name: Push Image
|
- name: Push Image
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue