diff --git a/.ci/jenkinsfile_hub_uploader.groovy b/.ci/jenkinsfile_hub_uploader.groovy index 9d556d32..5a8e18db 100644 --- a/.ci/jenkinsfile_hub_uploader.groovy +++ b/.ci/jenkinsfile_hub_uploader.groovy @@ -18,7 +18,7 @@ pipeline{ withCredentials([usernamePassword(credentialsId: '0fbf63c0-4a61-4543-811d-a182df47711b', usernameVariable: 'DH_USER', passwordVariable: 'DH_TOKEN' )]){ wrap([$class: 'BuildUser']) { sh '''#!/bin/bash - authorized_users=( "bitkin" "afok" "kobib" "drorl" "tlerner" "omarj" "samerd" "atolikin" "atabachnik" "eylonk" "lennyv" "asafb" "sspormas" "mkianovsky") + authorized_users=( "bitkin" "afok" "kobib" "drorl" "tlerner" "omarj" "samerd" "atolikin" "atabachnik" "eylonk" "lennyv" "asafb" "sspormas" "mkianovsky" "asafb") if [[ ! "${authorized_users[*]}" == *"${BUILD_USER_ID}"* ]]; then echo "${BUILD_USER_ID} not authorized to upload images to docker hub" echo "Please contact one of the approved users to upload a container: ${authorized_users[*]}"