Skip to content

Commit c8e7e6c

Browse files
author
mohit
committed
double quote env var for binary operator
1 parent 94fb4fc commit c8e7e6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circleci/docker-publish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ ORG=$4
5050

5151
# Check CLI + env vars for DockerHub and (conditonally) ECR
5252
check_hub_vars
53-
if [ $ECR_PUSH_ID != "" ]; then
53+
if [ "$ECR_PUSH_ID" != "" ]; then
5454
check_ecr_vars
5555
fi
5656

0 commit comments

Comments
 (0)