Deployment and lifecycle management for Nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

migrate to seed-ci docker image

+16 -2
+1 -1
.forgejo/workflows/build.yaml
··· 5 5 6 6 jobs: 7 7 flake-build: 8 - runs-on: stop/${{ matrix.system }} 8 + runs-on: sower/seed-ci/${{ matrix.system }} 9 9 container: 10 10 options: "--volume /nix:/host/nix" 11 11
+1
flake.nix
··· 42 42 43 43 inputs'.attic.packages.attic 44 44 45 + pkgs.docker 45 46 pkgs.just 46 47 pkgs.mix2nix 47 48 pkgs.nvfetcher
+13
justfile
··· 9 9 mix deps.compile 10 10 mix ecto.setup 11 11 12 + docker-build: 13 + eval $(nix build --print-build-logs --no-link --print-out-paths --system aarch64-linux .#seed-ci-docker) | docker load 14 + eval $(nix build --print-build-logs --no-link --print-out-paths --system x86_64-linux .#seed-ci-docker) | docker load 15 + 16 + docker-push: 17 + #!/usr/bin/env bash 18 + image_name=$(nix eval .#seed-ci-docker.imageName --raw) 19 + docker manifest rm $image_name:latest || true 20 + docker push $image_name:latest-aarch64-linux 21 + docker push $image_name:latest-x86_64-linux 22 + docker manifest create --amend $image_name:latest $image_name:latest-aarch64-linux $image_name:latest-x86_64-linux 23 + docker manifest push $image_name:latest 24 + 12 25 nix-lock: 13 26 mix2nix mix.lock > nix/mix.nix 14 27
+1 -1
nix/docker-image.nix
··· 25 25 }; 26 26 in 27 27 dockerTools.streamLayeredImage { 28 - name = "sower.dev/seed/ci"; 28 + name = "git.junco.dev/sower/seed-ci"; 29 29 30 30 fromImage = nvfetcher."nix-${hostPlatform.system}".src.outPath; 31 31 tag = "latest-${hostPlatform.system}";