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 Registry Mirrors to Trivy #673

Merged
merged 2 commits into from
Sep 13, 2021
Merged

Commits on Aug 18, 2021

  1. Add Registry Mirrors to Trivy

    This patch adds the option to use mirrors for the docker registries in trivy.
    This way it is possible to download the images from self-hosted mirrors instead
    of e.g. index.docker.io. This has some benefits, like not being hit by download
    restrictions.
    Sven Haardiek committed Aug 18, 2021
    Configuration menu
    Copy the full SHA
    034ca11 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2021

  1. Apply Suggestions from Code Review

    * Use a single configuration key to describe the registry as well as the
      mirror.
    * More meaningful error inspection in tests.
    * Use github.com/google/go-containerregistry to parse image reference.
    Sven Haardiek committed Sep 13, 2021
    Configuration menu
    Copy the full SHA
    5c95364 View commit details
    Browse the repository at this point in the history