about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2018-05-08T10·37+0200
committerDomen Kožar <domen@dev.si>2018-05-08T10·37+0200
commit2228891260ad9f35b5f8267f9f12aca3509e5d73 (patch)
tree3b5693b7016db66bd863fd8e0cfdbf0ac2f40231
parent85f9650322e762db8a14daa15aee508cfc5e2d4c (diff)
docker readme: simplify
-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