Skip to content

ci: push the database to Docker Hub#448

Merged
knqyf263 merged 2 commits into
mainfrom
docker_hub
Oct 14, 2024
Merged

ci: push the database to Docker Hub#448
knqyf263 merged 2 commits into
mainfrom
docker_hub

Conversation

@knqyf263
Copy link
Copy Markdown
Collaborator

Close #441

Signed-off-by: knqyf263 <knqyf263@gmail.com>
@knqyf263
Copy link
Copy Markdown
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
Copy Markdown
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

Comment thread .github/workflows/cron.yml Outdated
Co-authored-by: wkoot <3715211+wkoot@users.noreply.github.com>
@knqyf263 knqyf263 merged commit 8bc49ed into main Oct 14, 2024
@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