Skip to content

Commit

Permalink
Add pg version 17
Browse files Browse the repository at this point in the history
  • Loading branch information
prodrigestivill committed Sep 26, 2024
1 parent 23f24ca commit 234f538
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-15", "debian-14", "debian-13", "debian-12", "alpine-15", "alpine-14", "alpine-13", "alpine-12"]
targets = ["debian-latest", "alpine-latest", "debian-16", "debian-15", "debian-14", "debian-13", "debian-12", "alpine-16", "alpine-15", "alpine-14", "alpine-13", "alpine-12"]
}

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" = "16"}
args = {"BASETAG" = "17"}
tags = [
"${REGISTRY_PREFIX}${IMAGE_NAME}:latest",
"${REGISTRY_PREFIX}${IMAGE_NAME}:17",
notequal("", BUILD_REVISION) ? "${REGISTRY_PREFIX}${IMAGE_NAME}:17-debian-${BUILD_REVISION}" : ""
]
}

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

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

target "alpine-latest" {
target "alpine-16" {
inherits = ["alpine"]
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/s390x", "linux/ppc64le"]
args = {"BASETAG" = "16-alpine"}
tags = [
"${REGISTRY_PREFIX}${IMAGE_NAME}:alpine",
"${REGISTRY_PREFIX}${IMAGE_NAME}:16-alpine",
notequal("", BUILD_REVISION) ? "${REGISTRY_PREFIX}${IMAGE_NAME}:16-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.11"
MAIN_TAG="16"
TAGS_EXTRA="15 14 13 12"
MAIN_TAG="17"
TAGS_EXTRA="16 15 14 13 12"
PLATFORMS="linux/amd64 linux/arm64 linux/arm/v7 linux/s390x linux/ppc64le"
DOCKER_BAKE_FILE="${1:-docker-bake.hcl}"

Expand Down

0 comments on commit 234f538

Please sign in to comment.