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

How to publish trivy-db to a private repository? #447

Open
brauznitz-ww opened this issue Oct 4, 2024 · 1 comment
Open

How to publish trivy-db to a private repository? #447

brauznitz-ww opened this issue Oct 4, 2024 · 1 comment

Comments

@brauznitz-ww
Copy link

With all the recent rate limiting issues, I would like to cache trivy-db in our company's private repo and then use --db-repository . Can I get the steps for that? I think that would help a lot of companies and take the load off trivy/ghcr

@knqyf263
Copy link
Collaborator

knqyf263 commented Oct 7, 2024

You can use oras cp, crane copy or something similar.

$ crane copy ghcr.io/aquasecurity/trivy-db:2 myregistry/trivy-db:2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants