Skip to content

Commit

Permalink
feat: update debian base image to bookworm (#51)
Browse files Browse the repository at this point in the history
Signed-off-by: Niccolò Fei <[email protected]>
  • Loading branch information
NiccoloFei authored Aug 20, 2024
1 parent 305e48b commit f9159af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f9159af

Please sign in to comment.