diff --git a/Jenkinsfile b/Jenkinsfile index 771f376..7c93de2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,10 +8,10 @@ remote.agent = false remote.logLevel = 'INFO' pipeline{ agent { node{ label'master' }} - parameters { - string(defaultValue: "xsangle", name: 'dockerhub_user', description: 'Docker hub username') - string(defaultValue: "", name: 'dockerhub_pat', description: 'Docker hub Personal Access Token') - } + //parameters { + // string(defaultValue: "xsangle", name: 'dockerhub_user', description: 'Docker hub username') + // string(defaultValue: "", name: 'dockerhub_pat', description: 'Docker hub Personal Access Token') + //} options { // Limit build history with buildDiscarder option: // daysToKeepStr: history is only kept up to this many days. @@ -36,9 +36,6 @@ pipeline{ set -e export WORKSPACE=$(realpath "./jenkins/workspace/antosaio-docker") cd $WORKSPACE - # login to dockerhub - echo $dockerhub_pat > /tmp/docker-pat - cat /tmp/docker-pat | docker login -u $dockerhub_user --password-stdin docker run --rm --privileged docker/binfmt:a7996909642ee92942dcd6cff44b9b95f08dad64 for arch in arm arm64 amd64 ; do docker buildx build \