Skip to content

Commit

Permalink
Fix ECR_PUSH_ID conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Burns authored Aug 1, 2017
1 parent cc49395 commit 449d4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion circleci/docker-publish
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ push_hub_image $1 $2 $3 $4

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

0 comments on commit 449d4ff

Please sign in to comment.