doc: README.md manual build step changes

This commit is contained in:
Tamipes 2026-01-13 12:32:51 +01:00
parent 80ab8355dd
commit b050134b8f

View file

@ -8,10 +8,11 @@ As you cannot run a forgejo runner with `nixos/nix` due to it not having `node`
USERNAME="tamipes"
URL="git.tami.moe"
nix build --extra-experimental-features "flakes nix-command" .
docker login "https://$URL"
docker load -i result
docker image tag nix "$URL/$USERNAME/nix:latest"
docker login "https://$URL"
docker push "$URL/$username/nix"
rm result # don't forget to cleanup the GC root
# I also tag with the date, but this might be unneeded
docker image tag nix "$URL/$USERNAME/nix:latest$(date --iso-8601)"