6 x86_64_dirs=${x86_64_dirs-"\
15 aarch64_dirs=${aarch64_dirs-$(echo "${x86_64_dirs}" | sed -e "s|docker/vnf||" \
16 -e "s|docker/restapi||")}
18 find . -name Dockerfile -exec sed -i -e "s|opnfv/functest-core|${repo}/functest-core:x86_64-latest|g" {} +
19 for dir in ${x86_64_dirs}; do
20 (cd "${dir}" && docker build -t "${repo}/functest-${dir##**/}:x86_64-latest" .)
21 docker push "${repo}/functest-${dir##**/}:x86_64-latest"
23 find . -name Dockerfile -exec git checkout {} +
25 find . -name Dockerfile -exec sed -i -e "s|alpine:3.6|multiarch/alpine:aarch64-v3.6|g" {} +
26 find . -name Dockerfile -exec sed -i -e "s|opnfv/functest-core|${repo}/functest-core:aarch64-latest|g" {} +
27 for dir in ${aarch64_dirs}; do
28 (cd "${dir}" && docker build -t "${repo}/functest-${dir##**/}:aarch64-latest" .)
29 docker push "${repo}/functest-${dir##**/}:aarch64-latest"
31 find . -name Dockerfile -exec git checkout {} +