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

ci: push the database to Docker Hub #448

Merged
merged 2 commits into from
Oct 14, 2024
Merged

ci: push the database to Docker Hub #448

merged 2 commits into from
Oct 14, 2024

Conversation

knqyf263
Copy link
Collaborator

Close #441

Signed-off-by: knqyf263 <knqyf263@gmail.com>
@knqyf263
Copy link
Collaborator Author

I confirmed it could successfully publish the DB to Docker Hub.
https://github.com/aquasecurity/trivy-db/actions/runs/11288139164/job/31395337178

It's available here.

Also, it works with Trivy.

$ trivy image --db-repository aquasec/trivy-db:2 alpine:3.20
2024-10-11T11:45:06+04:00       INFO    [vulndb] Need to update DB
2024-10-11T11:45:06+04:00       INFO    [vulndb] Downloading vulnerability DB...
2024-10-11T11:45:06+04:00       INFO    [vulndb] Downloading artifact...        repo="aquasec/trivy-db:2"
54.15 MiB / 54.15 MiB [---------------------------------------------------------------------------------------------------------------] 100.00% 15.72 MiB p/s 3.6s
2024-10-11T11:45:13+04:00       INFO    [vulndb] Artifact successfully downloaded       repo="aquasec/trivy-db:2"

@knqyf263 knqyf263 marked this pull request as ready for review October 11, 2024 07:45
@knqyf263 knqyf263 requested a review from DmitriyLewen October 11, 2024 07:46
Copy link
Contributor

@DmitriyLewen DmitriyLewen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

.github/workflows/cron.yml Outdated Show resolved Hide resolved
Co-authored-by: wkoot <3715211+wkoot@users.noreply.github.com>
@knqyf263 knqyf263 merged commit 8bc49ed into main Oct 14, 2024
3 checks passed
@knqyf263 knqyf263 deleted the docker_hub branch October 14, 2024 04:54
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

Successfully merging this pull request may close these issues.

Publish trivy-db to docker.io ?
3 participants