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

add option to change cache behavior (CACHE_GREEDY_MODE) #126

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jan 11, 2022

  1. fix text copy error

    saces committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    ef8908d View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2022

  1. add option to change cache behavior (CACHE_GREEDY_MODE)

    In default mode a layer exist only once in the cache, and regardless
    which repository it is initially from, each repository get a hit on
    this layer now.
    Pitfall: You can not push images that reuse layers from a different
    registry (`ALLOW_PUSH=true`).
    Setting this option to 'false' adds the host to the cache key to solve this.
    
    Default is `true` to not change default behavior.
    WARNING: Changing this setting invalidates your cache!
    saces committed Jan 12, 2022
    Configuration menu
    Copy the full SHA
    9041d0f View commit details
    Browse the repository at this point in the history