summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 34badf0..2381328 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,13 @@ rebuild: Dockerfile
push: build
docker push chsa/centos-tools:latest
+login:
+ docker login -u `oc whoami` -p `oc whoami -t` docker-registry-default.kaas.kit.edu
+
+kaas: build login
+ docker tag chsa/centos-tools:latest docker-registry-default.kaas.kit.edu/kaas/kaas-manager:latest
+ docker push docker-registry-default.kaas.kit.edu/kaas/kaas-manager:latest
+
start: build
if [ `docker ps | grep chsa/centos-tools | wc -l` -eq 0 ]; then \
if [ `docker ps -a | grep centos-tools | wc -l` -gt 0 ]; then \