aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
blob: c7efc6384dc82e09e4cdc2beb217262c40f3b104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 docker/features; do
    (cd ${dir} && docker build -t "${repo}/functest-${dir##**/}" .)
    docker push "${repo}/functest-${dir##**/}"
done

exit $?