File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,14 +43,12 @@ jobs:
4343 unlink nix-images || true
4444 nix build --show-trace --file . lixImage.push --out-link nix-images
4545 ./nix-images/bin/push
46- cachix push nix-csi ./nix-images
4746
4847 - name : Build and push scratch image
4948 run : |
5049 unlink nix-scratches || true
5150 nix build --show-trace --file . scratchImage.push --out-link nix-scratches
5251 ./nix-scratches/bin/push
53- cachix push nix-csi ./nix-scratches
5452
5553 test-kind-cache :
5654 needs : build
Original file line number Diff line number Diff line change @@ -108,13 +108,16 @@ rec {
108108 pkgs . regctl
109109 pkgs . skopeo
110110 pkgs . gzip
111+ pkgs . cachix
111112 ] ;
112113 text = # bash
113114 ''
114115 skopeo login -u="$REPO_USERNAME" -p="$REPO_TOKEN" ${ server }
115116 regctl registry login -u="$REPO_USERNAME" -p="$REPO_TOKEN" ${ server }
116117 ${ copyToRegistry "aarch64-linux" }
117118 ${ copyToRegistry "x86_64-linux" }
119+ cachix push nix-csi ${ images . "aarch64-linux" }
120+ cachix push nix-csi ${ images . "x86_64-linux" }
118121 regctl index create ${ repo } /lix:${ pkgs . lruLix . version } \
119122 --ref ${ imageRef "aarch64-linux" } \
120123 --ref ${ imageRef "x86_64-linux" }
You can’t perform that action at this time.
0 commit comments