-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild_deploy_all.sh
executable file
·40 lines (28 loc) · 1.04 KB
/
build_deploy_all.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
33
34
35
36
37
38
39
40
#!/bin/sh
# Copies all templates and builds the tags
# In order to push you need to run docker login first
# i.e. docker login -u "myusername" -p "mypassword" docker.io
#echo [INFO] Running builds
#sh build_all.sh
DIR=$(pwd)
echo [INFO] Deploying
cd ${DIR}/7/apache \
&& docker push marcelovani/drupalci:7-apache
cd ${DIR}/7/apache-interactive \
&& docker push marcelovani/drupalci:7-apache-interactive
cd ${DIR}/8/apache \
&& docker push marcelovani/drupalci:8-apache
cd ${DIR}/8/apache-interactive \
&& docker push marcelovani/drupalci:8-apache-interactive
cd ${DIR}/9/apache \
&& docker push marcelovani/drupalci:9-apache
cd ${DIR}/9/apache-interactive \
&& docker push marcelovani/drupalci:9-apache-interactive
cd ${DIR}/10/apache \
&& docker push marcelovani/drupalci:10-apache
cd ${DIR}/10/apache-interactive \
&& docker push marcelovani/drupalci:10-apache-interactive
cd ${DIR}/11/apache \
&& docker push marcelovani/drupalci:11-apache
cd ${DIR}/11/apache-interactive \
&& docker push marcelovani/drupalci:11-apache-interactive