From 56ce44985eb0d787fc319974c86ff3cc738aa9b7 Mon Sep 17 00:00:00 2001 From: "bot-ross[bot]" <98030736+bot-ross[bot]@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:36:43 -0500 Subject: [PATCH] =?UTF-8?q?feat(postgres-init):=20update=20docker.io/libra?= =?UTF-8?q?ry/alpine=20(=203.20=20=E2=86=92=203.21=20)=20(#1147)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(postgres-init): update docker.io/library/alpine ( 3.20 → 3.21 ) * Update latest.sh --------- Co-authored-by: bot-ross[bot] <98030736+bot-ross[bot]@users.noreply.github.com> Co-authored-by: Devin Buhl --- apps/postgres-init/Dockerfile | 2 +- apps/postgres-init/ci/latest.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/postgres-init/Dockerfile b/apps/postgres-init/Dockerfile index 3d8ddb95e..9c838dfa0 100644 --- a/apps/postgres-init/Dockerfile +++ b/apps/postgres-init/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/library/alpine:3.20 +FROM docker.io/library/alpine:3.21 ARG TARGETPLATFORM ARG VERSION diff --git a/apps/postgres-init/ci/latest.sh b/apps/postgres-init/ci/latest.sh index 79f8b9758..0eef4e4bb 100755 --- a/apps/postgres-init/ci/latest.sh +++ b/apps/postgres-init/ci/latest.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -version=$(curl -sX GET "https://pkgs.alpinelinux.org/package/v3.20/main/x86_64/postgresql16-client" | grep -oP '(?<=).*?(?=)' 2>/dev/null) +version=$(curl -sX GET "https://pkgs.alpinelinux.org/package/v3.21/main/x86_64/postgresql16-client" | grep -oP '(?<=).*?(?=)' 2>/dev/null) version="${version%%_*}" version="${version%%-*}" printf "%s" "${version}"