From 0686998b9293051fb03166ed79644d737b313124 Mon Sep 17 00:00:00 2001 From: Pau Rodriguez-Estivill Date: Thu, 1 Oct 2020 15:07:06 +0200 Subject: [PATCH] Added Postgres 13 #35 --- docker-bake.hcl | 20 ++++++++++++++++---- generate.sh | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/docker-bake.hcl b/docker-bake.hcl index 74472f0..b7cd68a 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -1,5 +1,5 @@ group "default" { - targets = ["debian-latest", "alpine-latest", "debian-11", "debian-10", "debian-9.6", "debian-9.5", "alpine-11", "alpine-10", "alpine-9.6", "alpine-9.5"] + 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"] } target "common" { @@ -19,14 +19,26 @@ target "alpine" { target "debian-latest" { inherits = ["debian"] - args = {"BASETAG" = "12"} - tags = ["prodrigestivill/postgres-backup-local:latest", "prodrigestivill/postgres-backup-local:12"] + args = {"BASETAG" = "13"} + tags = ["prodrigestivill/postgres-backup-local:latest", "prodrigestivill/postgres-backup-local:13"] } target "alpine-latest" { inherits = ["alpine"] + args = {"BASETAG" = "13-alpine"} + tags = ["prodrigestivill/postgres-backup-local:alpine", "prodrigestivill/postgres-backup-local:13-alpine"] +} + +target "debian-12" { + inherits = ["debian"] + args = {"BASETAG" = "12"} + tags = ["prodrigestivill/postgres-backup-local:12"] +} + +target "alpine-12" { + inherits = ["alpine"] args = {"BASETAG" = "12-alpine"} - tags = ["prodrigestivill/postgres-backup-local:alpine", "prodrigestivill/postgres-backup-local:12-alpine"] + tags = ["prodrigestivill/postgres-backup-local:12-alpine"] } target "debian-11" { diff --git a/generate.sh b/generate.sh index 5a99f6f..504d8e4 100755 --- a/generate.sh +++ b/generate.sh @@ -3,7 +3,7 @@ set -e DOCKER_BAKE_FILE=${1:-"docker-bake.hcl"} -TAGS=${TAGS:-"12 11 10 9.6 9.5"} +TAGS=${TAGS:-"13 12 11 10 9.6 9.5"} GOCRONVER=${GOCRONVER:-"v0.0.9"} PLATFORMS=${PLATFORMS:-"linux/amd64 linux/arm64 linux/arm/v7"} IMAGE_NAME=${IMAGE_NAME:-"prodrigestivill/postgres-backup-local"}