aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 87dd8713f..491be7408 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