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.
- ‘./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