summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-12-11 19:01:10 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2019-12-11 19:04:11 +0100
commit24a3f90e14aac86e828a124aeb51b097c122fe9d (patch)
treecf3a2df1ba22d31f467809e633273c7e6b411368
parentebcb22997ad8863678f4f0e46ef24789d0afd76f (diff)
[ci] use the right registry when pushing image
-rw-r--r--docker/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/docker/Makefile b/docker/Makefile
index e230f6b..d3a13ea 100644
--- a/docker/Makefile
+++ b/docker/Makefile
@@ -1,5 +1,5 @@
IMAGE=bitmask-vpn
-REGISTRY=0xacab.org:4567/leap/docker
+REGISTRY=registry.0xacab.org/leap/docker
build:
docker build -t $(REGISTRY)/$(IMAGE):latest .
@@ -8,6 +8,6 @@ push:
prune:
docker system prune
login:
- docker login 0xacab.org:4567
+ docker login $(REGISTRY)
shell:
- docker run -it --rm $(REGISTRY)/$(IMAGE):latest /bin/bash
+ docker run -v `python3 -c 'import os; print(os.path.abspath(".."))'`:/bitmask-vpn.orig -it --rm $(REGISTRY)/$(IMAGE):latest /bin/bash