We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os.version
1 parent e48b706 commit 06ef8ceCopy full SHA for 06ef8ce
oci.jq
@@ -213,8 +213,8 @@ def validate_oci_descriptor:
213
validate_IN(type; "object")
214
| validate(.architecture; type == "string" and length > 0)
215
| validate(.os; type == "string" and length > 0)
216
- | if has("os.string") then
217
- validate(."os.string"; type == "string" and length > 0)
+ | if has("os.version") then
+ validate(."os.version"; type == "string" and length > 0)
218
else . end
219
| if has("os.features") then
220
validate(."os.features"; type == "array")
0 commit comments