Open
Description
See buildpacks/pack#821 and buildpacks/pack#1210 for background.
Add the ability to configure one or more registry mirrors in the Spring Boot Maven spring-boot:build-image
goal and Gradle bootBuildImage
task. This configuration would provide a list of mappings from a registry to a registry mirror, such as:
index.docker.io
->registry.example.com/mirror
gcr.io/my-repo
->registry.example.com/mirror
When the Spring Boot plugins reference an image name that starts with one of the configured registries, the registry part of the image name would be replaced with the mirror before pulling or pushing the image.