diff options
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100644 index 00000000..dbc79e0d --- /dev/null +++ b/build.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +set -e + +repo=${repo:-opnfv} + +(cd docker && docker build -t "${repo}/functest" .) +docker push "${repo}/functest" + +for dir in docker/core docker/healthcheck docker/smoke; do + (cd ${dir} && docker build -t "${repo}/functest-${dir##**/}" .) + docker push "${repo}/functest-${dir##**/}" +done + +exit $? |