Add older flavours

This commit is contained in:
Greyscale 2022-08-23 15:18:35 +02:00
parent 71a94ce9f2
commit 016a916281
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2

View file

@ -1,6 +1,11 @@
# docker-bake.dev.hcl
group "default" {
targets = ["postgres-14", "postgres-13"]
targets = [
"postgres-14",
"postgres-13",
"postgres-12",
"postgres-11",
"postgres-10"
]
}
target "postgres-14" {
@ -22,3 +27,33 @@ target "postgres-13" {
PGSQL_VERSION = 13
}
}
target "postgres-12" {
context = "."
dockerfile = "Dockerfile"
platforms = ["arm64","amd64"]
tags = ["benzine/postgres:12"]
args = {
PGSQL_VERSION = 12
}
}
target "postgres-11" {
context = "."
dockerfile = "Dockerfile"
platforms = ["arm64","amd64"]
tags = ["benzine/postgres:11"]
args = {
PGSQL_VERSION = 11
}
}
target "postgres-10" {
context = "."
dockerfile = "Dockerfile"
platforms = ["arm64","amd64"]
tags = ["benzine/postgres:10"]
args = {
PGSQL_VERSION = 10
}
}