Update 'Jenkinsfile'
This commit is contained in:
parent
bf28e16e75
commit
7e4e80fcdc
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -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 linux/arm/v7,linux/arm64/v8,linux/amd64 \
|
||||||
--platform $arch \
|
--tag xsangle/antosaio:latest .
|
||||||
--build-arg ARCH=$arch \
|
|
||||||
--tag xsangle/antosaio:latest \
|
|
||||||
.
|
|
||||||
done
|
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user