diff --git a/docker-bake.hcl b/docker-bake.hcl index 0a76347..2ec937e 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -1,5 +1,5 @@ group "default" { - targets = ["debian-latest", "alpine-latest", "debian-12", "debian-11", "debian-10", "debian-9.6", "debian-9.5", "alpine-12", "alpine-11", "alpine-10", "alpine-9.6", "alpine-9.5"] + targets = ["debian-latest", "alpine-latest", "debian-13", "debian-12", "debian-11", "debian-10", "debian-9.6", "alpine-13", "alpine-12", "alpine-11", "alpine-10", "alpine-9.6"] } variable "BUILDREV" { @@ -23,19 +23,37 @@ target "alpine" { target "debian-latest" { inherits = ["debian"] - args = {"BASETAG" = "13"} + args = {"BASETAG" = "14"} tags = [ "prodrigestivill/postgres-backup-local:latest", - "prodrigestivill/postgres-backup-local:13", - notequal("", BUILDREV) ? "prodrigestivill/postgres-backup-local:13-debian-${BUILDREV}" : "" + "prodrigestivill/postgres-backup-local:14", + notequal("", BUILDREV) ? "prodrigestivill/postgres-backup-local:14-debian-${BUILDREV}" : "" ] } target "alpine-latest" { inherits = ["alpine"] - args = {"BASETAG" = "13-alpine"} + args = {"BASETAG" = "14-alpine"} tags = [ "prodrigestivill/postgres-backup-local:alpine", + "prodrigestivill/postgres-backup-local:14-alpine", + notequal("", BUILDREV) ? "prodrigestivill/postgres-backup-local:14-alpine-${BUILDREV}" : "" + ] +} + +target "debian-13" { + inherits = ["debian"] + args = {"BASETAG" = "13"} + tags = [ + "prodrigestivill/postgres-backup-local:13", + notequal("", BUILDREV) ? "prodrigestivill/postgres-backup-local:13-debian-${BUILDREV}" : "" + ] +} + +target "alpine-13" { + inherits = ["alpine"] + args = {"BASETAG" = "13-alpine"} + tags = [ "prodrigestivill/postgres-backup-local:13-alpine", notequal("", BUILDREV) ? "prodrigestivill/postgres-backup-local:13-alpine-${BUILDREV}" : "" ] @@ -112,21 +130,3 @@ target "alpine-9.6" { notequal("", BUILDREV) ? "prodrigestivill/postgres-backup-local:9.6-alpine-${BUILDREV}" : "" ] } - -target "debian-9.5" { - inherits = ["debian"] - args = {"BASETAG" = "9.5"} - tags = [ - "prodrigestivill/postgres-backup-local:9.5", - notequal("", BUILDREV) ? "prodrigestivill/postgres-backup-local:9.5-debian-${BUILDREV}" : "" - ] -} - -target "alpine-9.5" { - inherits = ["alpine"] - args = {"BASETAG" = "9.5-alpine"} - tags = [ - "prodrigestivill/postgres-backup-local:9.5-alpine", - notequal("", BUILDREV) ? "prodrigestivill/postgres-backup-local:9.5-alpine-${BUILDREV}" : "" - ] -} diff --git a/generate.sh b/generate.sh index 23dcf89..722325c 100755 --- a/generate.sh +++ b/generate.sh @@ -3,7 +3,7 @@ set -e DOCKER_BAKE_FILE=${1:-"docker-bake.hcl"} -TAGS=${TAGS:-"13 12 11 10 9.6 9.5"} +TAGS=${TAGS:-"14 13 12 11 10 9.6"} GOCRONVER=${GOCRONVER:-"v0.0.10"} PLATFORMS=${PLATFORMS:-"linux/amd64 linux/arm64 linux/arm/v7 linux/s390x linux/ppc64le"} IMAGE_NAME=${IMAGE_NAME:-"prodrigestivill/postgres-backup-local"}