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
This commit is contained in:
Phillip Webb
2021-04-06 23:04:28 -07:00
parent 76f74482d4
commit 51d57e19d0

View File

@@ -7,6 +7,8 @@ fi
if [[ -n $DOCKER_HUB_USERNAME ]]; then
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
cleanup_maven_repo "org.springframework.boot"