Skip to content

Commit

Permalink
deploy-dockerhub.sh: separate processor/webapp
Browse files Browse the repository at this point in the history
  • Loading branch information
milescrabill authored May 30, 2017
1 parent 4de505b commit cd6a696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ci/deploy-dockerhub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ retry 3 docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWO
# docker tag and push git branch to dockerhub
if [ -n "$1" ]; then
[ "$1" == master ] && TAG=latest || TAG="$1"
for image in "socorro_processor socorro_webapp"; do
for image in "socorro_processor" "socorro_webapp"; do
docker tag "$image:latest" "mozilla/$image:$TAG" ||
(echo "Couldn't tag $image:latest as mozilla/$image:$TAG" && false)
retry 3 docker push "mozilla/socorro:$TAG" ||
Expand Down

0 comments on commit cd6a696

Please sign in to comment.