diff options
author | 2024-01-08 16:56:36 +0100 | |
---|---|---|
committer | 2024-01-08 16:56:36 +0100 | |
commit | 7d605237e7b92ddfdc43d8cb3df982997ed84f19 (patch) | |
tree | abddd03efbeb9a336a02f44af9b58018e25aac77 /build.sh | |
parent | 0d6bb30968d1092caeffee4159feccf6319ff565 (diff) |
Publish Xtesting 2023.2
Change-Id: I76d57e806df78912831b2764812df4e0306dc013
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -16,7 +16,7 @@ amd64_dirs=${amd64_dirs-"\ docker/core"} arm_dirs=${arm_dirs-${amd64_dirs}} arm64_dirs=${arm64_dirs-${amd64_dirs}} -tag=${BRANCH:-latest} +tag=${BRANCH:-stable/2023.2} image="xtesting" build_opts=(--pull=true --no-cache --force-rm=true) @@ -25,15 +25,15 @@ for arch in ${arch}; do find . -name Dockerfile -exec sed -i \ -e "s|alpine:3.17|arm64v8/alpine:3.17|g" {} + find . -name Dockerfile -exec sed -i \ - -e "s|opnfv/xtesting|${repo}/xtesting:arm64-${tag}|g" {} + + -e "s|opnfv/xtesting:2023.2|${repo}/xtesting:arm64-${tag}|g" {} + elif [[ ${arch} == arm ]]; then find . -name Dockerfile -exec sed -i \ -e "s|alpine:3.17|arm32v6/alpine:3.17|g" {} + find . -name Dockerfile -exec sed -i \ - -e "s|opnfv/xtesting|${repo}/xtesting:arm-${tag}|g" {} + + -e "s|opnfv/xtesting:2023.2|${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:2023.2|${repo}/xtesting:amd64-${tag}|g" {} + fi dirs=${arch}_dirs for dir in ${!dirs}; do |