Mise à jour de 'Jenkinsfile'

This commit is contained in:
dany 2022-08-07 00:07:50 +02:00
parent bc18f6e35a
commit f0ea35c768

3
Jenkinsfile vendored
View File

@ -35,7 +35,8 @@ pipeline{
cd $WORKSPACE cd $WORKSPACE
# docker rmi -f $(docker images -f "dangling=true" -q) # docker rmi -f $(docker images -f "dangling=true" -q)
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
for arch in arm arm64 amd64 i386; do for arch in arm arm64 amd64 386; do
echo "build for architecture $arch"
docker buildx build \ docker buildx build \
--platform $arch \ --platform $arch \
--output "type=docker,push=false,name=xsangle/ci-tools:latest-$arch" \ --output "type=docker,push=false,name=xsangle/ci-tools:latest-$arch" \