-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpush.sh
32 lines (28 loc) · 1.19 KB
/
push.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh -e
# data-crunch-engine push.sh
echo " "
if [ "$1" = "-debug" ]
then
echo "************************************************************************"
echo "* push.sh -debug (START) ***********************************************"
echo "************************************************************************"
# set -x enables a mode of the shell where all executed commands
# are printed to the terminal.
set -x
echo " "
else
echo "************************************************************************"
echo "* push.sh (START) ******************************************************"
echo "************************************************************************"
echo " "
fi
echo "Assuming you are logged in, lets push your built docker image to DockerHub"
echo "To login to docker use:"
echo " docker login"
echo "docker push jeffdecola/data-crunch-engine"
docker push jeffdecola/data-crunch-engine
echo " "
echo "************************************************************************"
echo "* push.sh (END) ********************************************************"
echo "************************************************************************"
echo " "