diff --git a/README.md b/README.md index c75392c..a3c180c 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,13 @@ As you cannot run a forgejo runner with `nixos/nix` due to it not having `node` IMG_NAME="nix" nix build --extra-experimental-features "flakes nix-command" . docker load -i result - docker image tag nix "$URL/$USERNAME/$IMG_NAME:latest" + docker image tag "$IMG_NAME" "$URL/$USERNAME/$IMG_NAME:latest" docker login "https://$URL" docker push "$URL/$USERNAME/$IMG_NAME" 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/$IMG_NAME:latest$(date --iso-8601)" + docker image tag "$IMG_NAME" "$URL/$USERNAME/$IMG_NAME:latest$(date --iso-8601)" docker push "$URL/$USERNAME/$IMG_NAME" ```