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: publish trivy-java-db to ECR Public #37

Merged
merged 1 commit into from
Sep 27, 2024
Merged

ci: publish trivy-java-db to ECR Public #37

merged 1 commit into from
Sep 27, 2024

Conversation

knqyf263
Copy link
Collaborator

Close #35

@knqyf263 knqyf263 self-assigned this Sep 25, 2024
@knqyf263 knqyf263 changed the title ci: publish trivy-java-db to ECR public ci: publish trivy-java-db to ECR Public Sep 25, 2024
@knqyf263
Copy link
Collaborator Author

Blocked by another issue.
#41

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

It's done successfully on this branch.
https://github.com/aquasecurity/trivy-java-db/actions/runs/11065949533

Copy link
Collaborator

@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

@knqyf263
Copy link
Collaborator Author

It works with Trivy.

$ trivy image --java-db-repository public.ecr.aws/aquasecurity/trivy-java-db:1 --download-java-db-only
2024-09-27T14:10:11+04:00       INFO    Java DB Repository      repository=public.ecr.aws/aquasecurity/trivy-java-db:1
2024-09-27T14:10:11+04:00       INFO    Downloading the Java DB...
647.36 MiB / 647.36 MiB [-------------------------------------------------------------------------------------------------------------] 100.00% 8.80 MiB p/s 1m14s
2024-09-27T14:11:28+04:00       INFO    The Java DB is cached for 3 days. If you want to update the database more frequently, "trivy clean --java-db" command clears the DB cache.

@knqyf263 knqyf263 merged commit 01e86e1 into main Sep 27, 2024
4 checks passed
@knqyf263 knqyf263 deleted the ci/ecr_public branch September 27, 2024 10:11
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-java-db to Public ECR Gallery
2 participants