From 053ea0f0d9a2a34ff99e6788e4a2e3d3c23b476c Mon Sep 17 00:00:00 2001 From: dany Date: Sun, 10 Mar 2024 15:35:36 +0100 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 51577db..6e31964 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,18 +24,10 @@ pipeline{ set -e set -x cd $WORKSPACE - # docker rmi -f $(docker images -f "dangling=true" -q) - # docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 - for arch in arm arm64 amd64; do - echo "build for architecture $arch" - arch_name="${arch////-}" - docker buildx build \ - --platform $arch \ - --output "type=docker,push=false,name=xsangle/ci-tools:latest-$arch_name" \ + docker buildx build \ + --platform amd64 \ + --output "type=docker,push=false,name=xsangle/ci-tools:latest" \ . - # docker tag xsangle/ci-tools:latest-$arch_name workstation:5000/xsangle/ci-tools:latest-$arch_name - # docker push workstation:5000/xsangle/ci-tools:latest-$arch_name - done ''' } }