From: Cédric Ollivier Date: Wed, 9 Apr 2025 16:05:33 +0000 (+0200) Subject: Fix alpine version when replacing X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=71914c440746e87e32d96798c87604f71f7bc3fc;p=functest-xtesting.git Fix alpine version when replacing Change-Id: I55a1b58cb8c58702aa98491617db899113679c13 Signed-off-by: Cédric Ollivier --- diff --git a/build.sh b/build.sh index 9f14b6e5..116363da 100644 --- a/build.sh +++ b/build.sh @@ -23,12 +23,12 @@ build_opts=(--pull=true --no-cache --force-rm=true) for arch in ${arch}; do if [[ ${arch} == arm64 ]]; then find . -name Dockerfile -exec sed -i \ - -e "s|alpine:3.17|arm64v8/alpine:3.17|g" {} + + -e "s|alpine:3.21|arm64v8/alpine:3.21|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/xtesting|${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" {} + + -e "s|alpine:3.21|arm32v6/alpine:3.21|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/xtesting|${repo}/xtesting:arm-${tag}|g" {} + else