Update 'Jenkinsfile'

This commit is contained in:
dany 2022-08-05 11:29:57 +02:00
parent cb763a4ae8
commit 9ba0a0f4bc

3
Jenkinsfile vendored
View File

@ -37,7 +37,8 @@ pipeline{
export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker") export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker")
cd $WORKSPACE cd $WORKSPACE
# login to dockerhub # login to dockerhub
docker login -u $dockerhub_user -p $dockerhub_pat echo $dockerhub_pat > /tmp/docker-pat
cat /tmp/docker-pat | docker login -u $dockerhub_user --password-stdin
docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64
for arch in arm arm64 amd64 ; do for arch in arm arm64 amd64 ; do
docker buildx build \ docker buildx build \