Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support multiple registry mirrors with fallback #1498

Merged
merged 2 commits into from Dec 9, 2020

Commits on Nov 20, 2020

  1. feat: support multiple registry mirrors with fallback

    Fixes GoogleContainerTools#1473
    
    The initial implementation of the registry mirror only allowed a single mirror, and if pulling from the mirror failed, the build would fail.
    
    This change introduces:
    - multiple registry mirrors instead of a single one
    - fallback if an image can't be pulled from a registry
    
    This is the same behavior as the docker daemon and will allow using a registry mirror such as `mirror.gcr.io` which is incomplete and doesn't have all the content that the default registry on docker.io has.
    
    Note that there are no changes in the CLI flags, the `--registry-mirror` flag is still valid. But now it can be used multiple times to set up more than one registry mirror.
    vbehar committed Nov 20, 2020
    Copy the full SHA
    6220dbd View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2020

  1. Copy the full SHA
    1959cf3 View commit details
    Browse the repository at this point in the history