Skip to content

Support registry mirrors when building images #30852

Open
@scottfrederick

Description

@scottfrederick

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions