Skip to content

Commit 898d15a

Browse files
committed
Revert "publish: add scanner account to sync task script"
This reverts commit f40b69c.
1 parent 0ab5be1 commit 898d15a

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

scripts/publish.sh

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,6 @@ gamma_region="us-west-2"
136136

137137
gamma_account_id="626332813196"
138138

139-
scanner_region="us-west-2"
140-
141-
scanner_account_id="210752607241"
142-
143139
DOCKER_HUB_SECRET="com.amazonaws.dockerhub.aws-for-fluent-bit.credentials"
144140

145141
ARCHITECTURES=("amd64" "arm64")
@@ -795,10 +791,6 @@ if [ "${1}" = "publish" ]; then
795791
publish_ecr ${melbourne_region} ${melbourne_account_id}
796792
fi
797793

798-
if [ "${2}" = "${scanner_region}" ]; then
799-
publish_ecr ${scanner_region} ${scanner_account_id}
800-
fi
801-
802794
if [ "${2}" = "gamma" ]; then
803795
publish_ecr ${gamma_region} ${gamma_account_id}
804796
fi
@@ -871,10 +863,6 @@ if [ "${1}" = "verify" ]; then
871863
verify_ecr ${melbourne_region} ${melbourne_account_id}
872864
fi
873865

874-
if [ "${2}" = "${scanner_region}" ]; then
875-
verify_ecr ${scanner_region} ${scanner_account_id}
876-
fi
877-
878866
if [ "${2}" = "gamma" ]; then
879867
verify_ecr ${gamma_region} ${gamma_account_id}
880868
fi
@@ -1109,8 +1097,6 @@ if [ "${1}" = "cicd-publish" ]; then
11091097
sync_image_version ${tel_aviv_region} ${tel_aviv_account_id}
11101098
elif [ "${2}" = "${melbourne_region}" ]; then
11111099
sync_image_version ${melbourne_region} ${melbourne_account_id}
1112-
elif [ "${2}" = "${scanner_region}" ]; then
1113-
sync_image_version ${scanner_region} ${scanner_account_id}
11141100
elif [ $# -eq 3 ] && [ "${3}" = "stable" ]; then
11151101
for region in ${classic_regions}; do
11161102
sync_image_version ${region} ${classic_regions_account_id}
@@ -1164,8 +1150,6 @@ if [ "${1}" = "cicd-verify" ]; then
11641150
verify_ecr ${tel_aviv_region} ${tel_aviv_account_id} true
11651151
elif [ "${2}" = "${melbourne_region}" ]; then
11661152
verify_ecr ${melbourne_region} ${melbourne_account_id} true
1167-
elif [ "${2}" = "${scanner_region}" ]; then
1168-
verify_ecr ${scanner_region} ${scanner_account_id} true
11691153
elif [ $# -eq 3 ] && [ "${3}" = "stable" ]; then
11701154
for region in ${classic_regions}; do
11711155
verify_ecr ${region} ${classic_regions_account_id} true

0 commit comments

Comments
 (0)