summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-10-05 10:08:03 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-10-05 10:08:03 +0200
commit929520e63d9e51ca7e7e51a71d56f476653fef99 (patch)
treef342a3f6e51bd2225c72bf638747c36d38194229 /Makefile
parent96660ef505d3e5763f057c793c29d694d11bf273 (diff)
downloadands-management-master.tar.gz
ands-management-master.tar.bz2
ands-management-master.tar.xz
ands-management-master.zip
Optimize dockerileHEADmaster
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 \