Skip to content

Commit

Permalink
update allowed uploaders list (#281)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkianovsky authored Nov 19, 2024
1 parent 1fbc0f8 commit 6da3ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/jenkinsfile_hub_uploader.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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[*]}"
Expand Down

0 comments on commit 6da3ca8

Please sign in to comment.