Update 'Jenkinsfile'

This commit is contained in:
dany 2022-08-05 12:23:17 +02:00
parent bf28e16e75
commit 7e4e80fcdc

8
Jenkinsfile vendored
View File

@ -41,14 +41,10 @@ pipeline{
cp /var/jenkins_home/workspace/nightly-antosaio/build/* antos -rf cp /var/jenkins_home/workspace/nightly-antosaio/build/* antos -rf
tree antos tree antos
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
for arch in arm arm64 amd64 ; do
docker buildx build \ docker buildx build \
--push \ --push \
--platform $arch \ --platform linux/arm/v7,linux/arm64/v8,linux/amd64 \
--build-arg ARCH=$arch \ --tag xsangle/antosaio:latest .
--tag xsangle/antosaio:latest \
.
done
''' '''
} }
} }