Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ target "default" {
"index,manifest:org.opencontainers.image.description=A ${metadata.name} ${getExtensionVersion(distro, pgVersion)} container image for PostgreSQL ${pgVersion} on ${distro}",
"index,manifest:org.opencontainers.image.documentation=${url}",
"index,manifest:org.opencontainers.image.authors=${authors}",
"index,manifest:org.opencontainers.image.licenses=Apache-2.0",
"index,manifest:org.opencontainers.image.licenses=${metadata.licenses}",
"index,manifest:org.opencontainers.image.base.name=scratch",
"index,manifest:io.cloudnativepg.image.base.name=${getBaseImage(distro, pgVersion)}",
"index,manifest:io.cloudnativepg.image.base.pgmajor=${pgVersion}",
Expand All @@ -91,7 +91,7 @@ target "default" {
"org.opencontainers.image.description" = "A ${metadata.name} ${getExtensionVersion(distro, pgVersion)} container image for PostgreSQL ${pgVersion} on ${distro}",
"org.opencontainers.image.documentation" = "${url}",
"org.opencontainers.image.authors" = "${authors}",
"org.opencontainers.image.licenses" = "Apache-2.0",
"org.opencontainers.image.licenses" = "${metadata.licenses}",
"org.opencontainers.image.base.name" = "scratch",
"io.cloudnativepg.image.base.name" = "${getBaseImage(distro, pgVersion)}",
"io.cloudnativepg.image.base.pgmajor" = "${pgVersion}",
Expand Down
1 change: 1 addition & 0 deletions pgaudit/metadata.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ metadata = {
name = "pgaudit"
sql_name = "pgaudit"
image_name = "pgaudit"
licenses = "PostgreSQL"
shared_preload_libraries = ["pgaudit"]
extension_control_path = []
dynamic_library_path = []
Expand Down
1 change: 1 addition & 0 deletions pgvector/metadata.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ metadata = {
name = "pgvector"
sql_name = "vector"
image_name = "pgvector"
licenses = "PostgreSQL"
shared_preload_libraries = []
extension_control_path = []
dynamic_library_path = []
Expand Down
1 change: 1 addition & 0 deletions postgis/metadata.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ metadata = {
name = "postgis"
sql_name = "postgis"
image_name = "postgis-extension"
licenses = "GPL-2.0-or-later AND Apache-2.0 AND MIT AND LGPL-2.1-only AND LGPL-3.0-or-later"
shared_preload_libraries = []
extension_control_path = []
dynamic_library_path = []
Expand Down
6 changes: 6 additions & 0 deletions templates/metadata.hcl.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ metadata = {
# it identifies the image (e.g. ghcr.io/cloudnative-pg/<image_name>)
image_name = "{{ .Name }}"

# TODO: Remove this comment block after customizing the file.
# `licenses`: The SPDX license identifier(s) for the extension software.
# Examples: "Apache-2.0", "PostgreSQL", "GPL-2.0-only".
# See: https://spdx.org/licenses/
licenses = "Apache-2.0"

# TODO: Remove this comment block after customizing the file.
# `shared_preload_libraries`: list libraries to be added to
# `shared_preload_libraries` in Postgres. Usually empty.
Expand Down
Loading