about summary refs log tree commit diff
path: root/misc/docker/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'misc/docker/README.md')
-rw-r--r--misc/docker/README.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/docker/README.md b/misc/docker/README.md
index 87dd8713fcd6..491be7408964 100644
--- a/misc/docker/README.md
+++ b/misc/docker/README.md
@@ -1,9 +1,7 @@
 To update https://hub.docker.com/r/nixos/nix/
 
-    $ docker build .
-    $ docker image ls
-    $ docker tag <hash> nixos/nix:2.0
-    $ docker tag <hash> nixos/nix:latest
+    $ docker build . -t nixos/nix:2.0
+    $ docker tag nixos/nix:2.0 nixos/nix:latest
     $ docker push nixos/nix:latest
     $ docker push nixos/nix:2.0