@@ -136,6 +136,10 @@ gamma_region="us-west-2"
136136
137137gamma_account_id=" 626332813196"
138138
139+ scanner_region=" us-west-2"
140+
141+ scanner_account_id=" 210752607241"
142+
139143DOCKER_HUB_SECRET=" com.amazonaws.dockerhub.aws-for-fluent-bit.credentials"
140144
141145ARCHITECTURES=(" amd64" " arm64" )
@@ -791,6 +795,10 @@ if [ "${1}" = "publish" ]; then
791795 publish_ecr ${melbourne_region} ${melbourne_account_id}
792796 fi
793797
798+ if [ " ${2} " = " ${scanner_region} " ]; then
799+ publish_ecr ${scanner_region} ${scanner_account_id}
800+ fi
801+
794802 if [ " ${2} " = " gamma" ]; then
795803 publish_ecr ${gamma_region} ${gamma_account_id}
796804 fi
@@ -863,6 +871,10 @@ if [ "${1}" = "verify" ]; then
863871 verify_ecr ${melbourne_region} ${melbourne_account_id}
864872 fi
865873
874+ if [ " ${2} " = " ${scanner_region} " ]; then
875+ verify_ecr ${scanner_region} ${scanner_account_id}
876+ fi
877+
866878 if [ " ${2} " = " gamma" ]; then
867879 verify_ecr ${gamma_region} ${gamma_account_id}
868880 fi
@@ -1097,6 +1109,8 @@ if [ "${1}" = "cicd-publish" ]; then
10971109 sync_image_version ${tel_aviv_region} ${tel_aviv_account_id}
10981110 elif [ " ${2} " = " ${melbourne_region} " ]; then
10991111 sync_image_version ${melbourne_region} ${melbourne_account_id}
1112+ elif [ " ${2} " = " ${scanner_region} " ]; then
1113+ sync_image_version ${scanner_region} ${scanner_account_id}
11001114 elif [ $# -eq 3 ] && [ " ${3} " = " stable" ]; then
11011115 for region in ${classic_regions} ; do
11021116 sync_image_version ${region} ${classic_regions_account_id}
@@ -1150,6 +1164,8 @@ if [ "${1}" = "cicd-verify" ]; then
11501164 verify_ecr ${tel_aviv_region} ${tel_aviv_account_id} true
11511165 elif [ " ${2} " = " ${melbourne_region} " ]; then
11521166 verify_ecr ${melbourne_region} ${melbourne_account_id} true
1167+ elif [ " ${2} " = " ${scanner_region} " ]; then
1168+ verify_ecr ${scanner_region} ${scanner_account_id} true
11531169 elif [ $# -eq 3 ] && [ " ${3} " = " stable" ]; then
11541170 for region in ${classic_regions} ; do
11551171 verify_ecr ${region} ${classic_regions_account_id} true
0 commit comments