github_packages: use official license annotation

For now we ignore the 256 character limit stated by GitHub packages

https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#labelling-container-images
This commit is contained in:
Michael Cho 2024-08-26 18:34:46 -04:00
parent 80c04e2528
commit bf320eb4bf
No known key found for this signature in database
GPG Key ID: 55E85E28A7CD1E85

View File

@ -306,7 +306,7 @@ class GitHubPackages
"org.opencontainers.image.created" => created_date,
"org.opencontainers.image.description" => bottle_hash["formula"]["desc"],
"org.opencontainers.image.documentation" => documentation,
"org.opencontainers.image.license" => bottle_hash["formula"]["license"],
"org.opencontainers.image.licenses" => bottle_hash["formula"]["license"],
"org.opencontainers.image.ref.name" => version_rebuild,
"org.opencontainers.image.revision" => git_revision,
"org.opencontainers.image.source" => source,