aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index c7efc638..77ea98be 100644
--- a/build.sh
+++ b/build.sh
@@ -3,11 +3,17 @@
set -e
repo=${repo:-opnfv}
+dirs="\
+docker/core \
+docker/healthcheck \
+docker/smoke \
+docker/features \
+docker/components"
(cd docker && docker build -t "${repo}/functest" .)
docker push "${repo}/functest"
-for dir in docker/core docker/healthcheck docker/smoke docker/features; do
+for dir in ${dirs}; do
(cd ${dir} && docker build -t "${repo}/functest-${dir##**/}" .)
docker push "${repo}/functest-${dir##**/}"
done