Skip to content

Commit 449d4ff

Browse files
author
Ryan Burns
authored
Fix ECR_PUSH_ID conditional
1 parent cc49395 commit 449d4ff

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
@@ -65,7 +65,7 @@ push_hub_image $1 $2 $3 $4
6565

6666
# TODO: fail if ECR_PUSH_ID is not set;
6767
# all repos eventually should dual publish (or explicitly opt-out)
68-
if [ $ECR_PUSH_ID != "" ]; then
68+
if [ "$ECR_PUSH_ID" != "" ]; then
6969
echo "ECR access_id available. Pushing to ECR..."
7070
push_ecr_image
7171
fi

0 commit comments

Comments
 (0)