diff --git a/Jenkinsfile b/Jenkinsfile index d0c21c7..4605967 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,7 +38,7 @@ pipeline{ docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 for arch in arm arm64 amd64 linux/386; do echo "build for architecture $arch" - arch_name="${arch//\//-}" + arch_name="${arch////-}" docker buildx build \ --platform $arch \ --output "type=docker,push=false,name=xsangle/ci-tools:latest-$arch_name" \