Skip to content

Commit

Permalink
Add pg version 15 (fixes prodrigestivill#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
prodrigestivill committed Oct 16, 2022
1 parent 56c4284 commit 3b8755d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 6 deletions.
28 changes: 24 additions & 4 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group "default" {
targets = ["debian-latest", "alpine-latest", "debian-13", "debian-12", "debian-11", "debian-10", "alpine-13", "alpine-12", "alpine-11", "alpine-10"]
targets = ["debian-latest", "alpine-latest", "debian-14", "debian-13", "debian-12", "debian-11", "debian-10", "alpine-14", "alpine-13", "alpine-12", "alpine-11", "alpine-10"]
}

variable "REGISTRY_PREFIX" {
Expand Down Expand Up @@ -27,20 +27,40 @@ target "alpine" {
target "debian-latest" {
inherits = ["debian"]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/s390x", "linux/ppc64le"]
args = {"BASETAG" = "14"}
args = {"BASETAG" = "15"}
tags = [
"${REGISTRY_PREFIX}${IMAGE_NAME}:latest",
"${REGISTRY_PREFIX}${IMAGE_NAME}:15",
notequal("", BUILD_REVISION) ? "${REGISTRY_PREFIX}${IMAGE_NAME}:15-debian-${BUILD_REVISION}" : ""
]
}

target "alpine-latest" {
inherits = ["alpine"]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/s390x", "linux/ppc64le"]
args = {"BASETAG" = "15-alpine"}
tags = [
"${REGISTRY_PREFIX}${IMAGE_NAME}:alpine",
"${REGISTRY_PREFIX}${IMAGE_NAME}:15-alpine",
notequal("", BUILD_REVISION) ? "${REGISTRY_PREFIX}${IMAGE_NAME}:15-alpine-${BUILD_REVISION}" : ""
]
}

target "debian-14" {
inherits = ["debian"]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/s390x", "linux/ppc64le"]
args = {"BASETAG" = "14"}
tags = [
"${REGISTRY_PREFIX}${IMAGE_NAME}:14",
notequal("", BUILD_REVISION) ? "${REGISTRY_PREFIX}${IMAGE_NAME}:14-debian-${BUILD_REVISION}" : ""
]
}

target "alpine-latest" {
target "alpine-14" {
inherits = ["alpine"]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/s390x", "linux/ppc64le"]
args = {"BASETAG" = "14-alpine"}
tags = [
"${REGISTRY_PREFIX}${IMAGE_NAME}:alpine",
"${REGISTRY_PREFIX}${IMAGE_NAME}:14-alpine",
notequal("", BUILD_REVISION) ? "${REGISTRY_PREFIX}${IMAGE_NAME}:14-alpine-${BUILD_REVISION}" : ""
]
Expand Down
4 changes: 2 additions & 2 deletions generate-docker-bake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -e

GOCRONVER="v0.0.10"
MAIN_TAG="14"
TAGS_EXTRA="13 12"
MAIN_TAG="15"
TAGS_EXTRA="14 13 12"
PLATFORMS="linux/amd64 linux/arm64 linux/arm/v7 linux/s390x linux/ppc64le"
TAGS_EXTRA_2="11 10"
PLATFORMS_DEBIAN_2="linux/amd64 linux/arm64 linux/arm/v7"
Expand Down

0 comments on commit 3b8755d

Please sign in to comment.