doc: README.md manual build step changes
This commit is contained in:
parent
80ab8355dd
commit
b050134b8f
1 changed files with 2 additions and 1 deletions
|
|
@ -8,10 +8,11 @@ As you cannot run a forgejo runner with `nixos/nix` due to it not having `node`
|
||||||
USERNAME="tamipes"
|
USERNAME="tamipes"
|
||||||
URL="git.tami.moe"
|
URL="git.tami.moe"
|
||||||
nix build --extra-experimental-features "flakes nix-command" .
|
nix build --extra-experimental-features "flakes nix-command" .
|
||||||
docker login "https://$URL"
|
|
||||||
docker load -i result
|
docker load -i result
|
||||||
docker image tag nix "$URL/$USERNAME/nix:latest"
|
docker image tag nix "$URL/$USERNAME/nix:latest"
|
||||||
|
docker login "https://$URL"
|
||||||
docker push "$URL/$username/nix"
|
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
|
# I also tag with the date, but this might be unneeded
|
||||||
docker image tag nix "$URL/$USERNAME/nix:latest$(date --iso-8601)"
|
docker image tag nix "$URL/$USERNAME/nix:latest$(date --iso-8601)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue