Docker Push Speed - Takes 3 minutes

Hello,

I’m new to CircleCI - we’re currently evaluating it to see if it’s worth buying multiple containers.

I set up a custom build using the yml file, and everything runs fast except docker push, which takes 3+ minutes.
A similar build, run on my local machine, takes <50 seconds in total (including test/push). What am I doing wrong?

Only the push takes a while. I haven’t tried other steps yet.

machine:
java:
version: oraclejdk8
services:
- docker

deployment:
hub:
branch: develop
commands:
- ‘./gradlew -P$GRADLE_PROPS build -x test’
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- docker build --rm=false -t $REPO/$CIRCLE_PROJECT_REPONAME build/docker
- docker push $REPO/$CIRCLE_PROJECT_REPONAME

Could you send us a link to a build so we can take a look?

Or email support@circleci.com if you’re uncomfortable sharing the url.
Only staff will be able to see the actual build page, but the org/project will be visible in the url.