Hi,
My Docker push is taking a very long time - 10-15 mins per go.
Is there a way I can speed this up and get it working optimally?
Extracts of my circle.yml:
dependencies:
cache_directories:
- ~/docker
pre:
- gcloud --quiet components update app
- gcloud auth activate-service-account --key-file gce-key.json
- gcloud config set project xyzxyz
override:
- if [[ -e ~/docker/image.tar ]]; then docker load -i ~/docker/image.tar; fi
- docker build -t $EXTERNAL_REGISTRY_ENDPOINT/xyz:$CIRCLE_SHA1 .
- mkdir -p ~/docker; docker save $EXTERNAL_REGISTRY_ENDPOINT/xyz:$CIRCLE_SHA1 > ~/docker/image.tar
deployment:
prod:
branch: ce-docker-testing
commands:
- gcloud docker push $EXTERNAL_REGISTRY_ENDPOINT/xyz:$CIRCLE_SHA1