Skip to content

Commit

Permalink
chore: fix due to bash syntax issues
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
  • Loading branch information
Dominik Rosiek committed Feb 28, 2024
1 parent 829ac66 commit 634a5f6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ci/push_docker_multiplatform_manifest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,23 @@ function push_manifest() {
echo "${platform}"
case "${platform}" in
"linux/amd64")
readonly BUILD_ARCH="amd64"
readonly BUILD_PLATFORM="linux"
BUILD_ARCH="amd64"
BUILD_PLATFORM="linux"
;;

"linux/arm64")
readonly BUILD_ARCH="arm64"
readonly BUILD_PLATFORM="linux"
BUILD_ARCH="arm64"
BUILD_PLATFORM="linux"
;;

"linux/arm/v7")
readonly BUILD_ARCH="arm_v7"
readonly BUILD_PLATFORM="linux"
BUILD_ARCH="arm_v7"
BUILD_PLATFORM="linux"
;;

"windows/amd64")
readonly BUILD_ARCH="amd64"
readonly BUILD_PLATFORM="windows"
BUILD_ARCH="amd64"
BUILD_PLATFORM="windows"
;;
*)
echo "Unsupported platform ${platform}"
Expand Down

0 comments on commit 634a5f6

Please sign in to comment.