summaryrefslogtreecommitdiffstats
path: root/build.sh
blob: 77ea98bebec4b5796bbb11c6b986bb310aa4b87f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

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 ${dirs}; do
    (cd ${dir} && docker build -t "${repo}/functest-${dir##**/}" .)
    docker push "${repo}/functest-${dir##**/}"
done

exit $?