diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 96b0d46..d38cedd 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -37,7 +37,7 @@ jobs: - name: Get latest Debian base image run: | - DEBIAN_VERSION=$(curl -SsL "https://registry.hub.docker.com/v2/repositories/library/debian/tags/?name=buster-20&ordering=last_updated&" | jq -r ".results[].name | match(\"buster.*-slim\") | .string" | head -n1) + DEBIAN_VERSION=$(curl -SsL "https://registry.hub.docker.com/v2/repositories/library/debian/tags/?name=bookworm-20&ordering=last_updated" | jq -r ".results[].name | match(\"bookworm.*-slim\") | .string" | head -n1) if [ -z "$DEBIAN_VERSION" ] then echo "Debian slim latest tag could not be retrieved" diff --git a/Dockerfile.template b/Dockerfile.template index 868ecd7..88817a3 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -37,6 +37,7 @@ RUN curl -sL http://www.pgbouncer.org/downloads/files/${PGBOUNCER_VERSION}/pgbo FROM debian:${DEBIAN_VERSION} +ARG DEBIAN_VERSION ARG PGBOUNCER_VERSION ARG TARGETARCH