From d89b879196d422285cb96b7c11ceddf52cb136dd Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sat, 16 Sep 2023 16:37:49 -0400 Subject: [PATCH] fix: unary operator expected --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0aaa320507..a95687b8f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -146,7 +146,7 @@ jobs: - run: name: Build and push Docker image command: | - if [ $CIRCLE_BRANCH == "main" ]; then + if [ "$CIRCLE_BRANCH" == "main" ]; then docker buildx build -t $IMAGE_NAME:latest -t $IMAGE_NAME:${CIRCLE_TAG/v/''} --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x --push . else docker buildx build -t $IMAGE_NAME:${CIRCLE_TAG/v/''} --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x --push .