fix: unary operator expected

This commit is contained in:
Tom Moor committed 2023-09-16 16:37:49 -04:00
1 parent b48b2264fa
commit d89b879196
1 file changed
+1 -1
+1 -1
View File
@@ -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 .