Update 'Jenkinsfile'

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

12
Jenkinsfile vendored
View File

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