Skip to content

Commit

Permalink
docker-publish: skip ECR publish, for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanleiby committed Aug 8, 2017
1 parent 2f43a7e commit 5569b53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions circleci/docker-publish
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ docker build -t $ORG/$REPO:$SHORT_SHA .
echo "Pushing to DockerHub..."
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
echo "ECR access_id available. Pushing to ECR..."
push_ecr_image
# push_ecr_image
echo "skipping"
fi

0 comments on commit 5569b53

Please sign in to comment.