aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2022-10-27 11:01:56 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2022-10-27 11:01:56 +0200
commita73a93bad0f1af82761bbbfa14fd136d4f266c27 (patch)
treedfaa361b0eea28519f6a8a9321a4d787ca955ca4 /build.sh
parent907f79c187a05cbd6e2a6d534fe76a76378cbb96 (diff)
Prepare Xena containers
Change-Id: Iebb92209c99bc7f87d178e4822e322d70f63bcbe Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.sh b/build.sh
index e7056514..fe88f8bc 100644
--- a/build.sh
+++ b/build.sh
@@ -17,7 +17,7 @@ docker/core \
docker/mts"}
arm_dirs=${arm_dirs-${amd64_dirs}}
arm64_dirs=${arm64_dirs-${amd64_dirs}}
-tag=${BRANCH:-latest}
+tag=${BRANCH:-stable/yoga}
image="xtesting"
build_opts=(--pull=true --no-cache --force-rm=true)
@@ -26,15 +26,15 @@ for arch in ${arch}; do
find . -name Dockerfile -exec sed -i \
-e "s|alpine:3.16|arm64v8/alpine:3.16|g" {} +
find . -name Dockerfile -exec sed -i \
- -e "s|opnfv/xtesting|${repo}/xtesting:arm64-${tag}|g" {} +
+ -e "s|opnfv/xtesting:zed|${repo}/xtesting:arm64-${tag}|g" {} +
elif [[ ${arch} == arm ]]; then
find . -name Dockerfile -exec sed -i \
-e "s|alpine:3.16|arm32v6/alpine:3.16|g" {} +
find . -name Dockerfile -exec sed -i \
- -e "s|opnfv/xtesting|${repo}/xtesting:arm-${tag}|g" {} +
+ -e "s|opnfv/xtesting:zed|${repo}/xtesting:arm-${tag}|g" {} +
else
find . -name Dockerfile -exec sed -i \
- -e "s|opnfv/xtesting|${repo}/xtesting:amd64-${tag}|g" {} +
+ -e "s|opnfv/xtesting:zed|${repo}/xtesting:amd64-${tag}|g" {} +
fi
dirs=${arch}_dirs
for dir in ${!dirs}; do