forked from repo-mirrors/cnpg-postgres-containers
chore: add system
images to docker-bake.hcl
(#282)
This change extends the bake build process by introducing the system image flavour. The system image is derived from the existing standard image and includes Barman Cloud support. Closes #283 Closes #286 Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com> Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com> Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com> Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
This commit is contained in:
committed by
GitHub
parent
3ea082111e
commit
fdc8010750
@@ -29,6 +29,10 @@ postgreSQLVersions = [
|
||||
"17.6"
|
||||
]
|
||||
|
||||
// Barman version to build
|
||||
# renovate: datasource=github-releases depName=EnterpriseDB/barman versioning=loose
|
||||
barmanVersion = "3.14.0"
|
||||
|
||||
extensions = [
|
||||
"pgaudit",
|
||||
"pgvector",
|
||||
@@ -39,7 +43,8 @@ target "default" {
|
||||
matrix = {
|
||||
tgt = [
|
||||
"minimal",
|
||||
"standard"
|
||||
"standard",
|
||||
"system"
|
||||
]
|
||||
pgVersion = postgreSQLVersions
|
||||
base = [
|
||||
@@ -69,6 +74,7 @@ target "default" {
|
||||
PG_MAJOR = "${getMajor(pgVersion)}"
|
||||
BASE = "${base}"
|
||||
EXTENSIONS = "${getExtensionsString(pgVersion, extensions)}"
|
||||
BARMAN_VERSION = "${barmanVersion}"
|
||||
}
|
||||
attest = [
|
||||
"type=provenance,mode=max",
|
||||
|
Reference in New Issue
Block a user