Replies: 1 comment
-
Hello @marsty339 You need to use oras pull ghcr.io/aquasecurity/trivy-db:2 Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
trivy scan error unacceptable mediay type application/vnd.aquasec.trivy.db.layer.v1.tar+gzip
I run command:
oras pull ghcr.io/aquasecurity/trivy-java-db:1
oras push --export-manifest manifest.json xx.xx.xx.xx/aquasec/trivy-java-db:1 db.tar.gz
jq '.layers[0].mediaType="application/vnd.aquasec.trivy.db.layer.v1.tar+gzip"' manifest.json > new_manifest.json
oras manifest push xx.xx.xx.xx/aquasec/trivy-java-db:1 new_manifest.json
Target
None
Scanner
None
Output Format
None
Mode
None
Operating System
No response
Version
No response
Beta Was this translation helpful? Give feedback.
All reactions