Skip to content

Commit

Permalink
no more email for docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 committed Apr 8, 2018
1 parent 289b409 commit e558243
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ docker version
gox --osarch="linux/386" -ldflags "$GO_LDFLAGS" -output "dist/rethinkdb_exporter"

echo "Build Docker images"

echo "docker login"
docker login -u $DOCKER_USER -p $DOCKER_PASS
echo "docker login done"

docker build --rm=false -t "21zoo/rethinkdb_exporter:$CIRCLE_TAG" .
docker build --rm=false -t "21zoo/rethinkdb_exporter:latest" .

docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
docker push "21zoo/rethinkdb_exporter:latest"
docker push "21zoo/rethinkdb_exporter:$CIRCLE_TAG"

Expand Down

0 comments on commit e558243

Please sign in to comment.