From bf320eb4bf306e8cc0cb72ebf71725c0bd34e594 Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Mon, 26 Aug 2024 18:34:46 -0400 Subject: [PATCH] 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 --- Library/Homebrew/github_packages.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/github_packages.rb b/Library/Homebrew/github_packages.rb index c70d305c91..fe44d86785 100644 --- a/Library/Homebrew/github_packages.rb +++ b/Library/Homebrew/github_packages.rb @@ -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,