Commit 51d57e19 authored by Phillip Webb's avatar Phillip Webb

Attempt to overcome Docker rate limiting on CI

Update the common build script to pull buildpack images early using the
authenticated CLI.

See gh-25838
parent 76f74482
...@@ -7,6 +7,8 @@ fi ...@@ -7,6 +7,8 @@ fi
if [[ -n $DOCKER_HUB_USERNAME ]]; then if [[ -n $DOCKER_HUB_USERNAME ]]; then
docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD docker login -u $DOCKER_HUB_USERNAME -p $DOCKER_HUB_PASSWORD
docker pull paketobuildpacks/run:tiny-cnb
docker pull springci/spring-boot-cnb-builder:0.0.1
fi fi
cleanup_maven_repo "org.springframework.boot" cleanup_maven_repo "org.springframework.boot"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment