Skip to content

Commit

Permalink
Add new members to receive docker build notifications (#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored and wxing1292 committed Apr 4, 2018
1 parent 910f599 commit 8b6694a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/auto-build-docker-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ cm_msg=`git log -1 --abbrev-commit`
if [ "$last_cm_id" == "$curr_cm_id" ]; then
echo "Last commit doesn't change."
else
echo "Last commit changed. Start building..." && docker build . -t ubercadence/server:master --build-arg git_branch=master && docker push ubercadence/server:master && mail -s "Docker image auto build succeeded HEAD: $curr_cm_id tag: master" [email protected],[email protected],[email protected],[email protected],mihneao@uber.com,[email protected],madhurav@uber.com,[email protected] <<< "commit info: $cm_msg " && echo $curr_cm_id > .last_cm_id.txt && echo "build succ!"
echo "Last commit changed. Start building..." && docker build . -t ubercadence/server:master --build-arg git_branch=master && docker push ubercadence/server:master && mail -s "Docker image auto build succeeded HEAD: $curr_cm_id tag: master" [email protected],[email protected],[email protected],[email protected],krupapc@uber.com,[email protected],wenquanx@uber.com,boweixu@uber.com,[email protected],[email protected],nathanbl@uber.com <<< "commit info: $cm_msg " && echo $curr_cm_id > .last_cm_id.txt && echo "build succ!"
fi

0 comments on commit 8b6694a

Please sign in to comment.