github_packages: pin image spec schema

This commit is contained in:
Bo Anderson 2022-05-11 04:28:02 +01:00
parent 14870406e0
commit 354e5b60a7
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -151,7 +151,7 @@ class GitHubPackages
end end
def schema_uri(basename, uris) def schema_uri(basename, uris)
url = "https://raw.githubusercontent.com/opencontainers/image-spec/master/schema/#{basename}.json" url = "https://raw.githubusercontent.com/opencontainers/image-spec/170393e57ed656f7f81c3070bfa8c3346eaa0a5a/schema/#{basename}.json"
out, = curl_output(url) out, = curl_output(url)
json = JSON.parse(out) json = JSON.parse(out)