Skip to content

Commit 85aea8a

Browse files
authored
feat: Update the GH actions and the PgBouncer version (#13)
* docs: Update the documentation * feat: Update the PGBouncer version
1 parent 63000a0 commit 85aea8a

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

.github/workflows/build-and-release-docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515

1616
- name: Build the Docker image
1717
run: docker build . -t z9pascal/pgbouncer-container:$(cat ./Dockerfile | grep -Po 'version="\K.*?(?=")')-latest
1818

19-
- name: Relase the Docker image
19+
- name: Release the Docker image
2020
run: echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u z9pascal --password-stdin && docker push z9pascal/pgbouncer-container:$(cat ./Dockerfile | grep -Po 'version="\K.*?(?=")')-latest

.github/workflows/build-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717

1818
- name: Build the Docker image
1919
run: docker build . --file Dockerfile --tag pgbouncer-container:$(cat ./Dockerfile | grep -Po 'version="\K.*?(?=")')-$(date +%s)

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM alpine:3.19
2-
ARG VERSION=1.22.0
2+
ARG VERSION=1.22.1
33
MAINTAINER Pascal Zimmermann <ZPascal>
44
LABEL application="PgBouncer" \
55
description="Base alpine linux container image + PgBouncer" \
6-
version="1.22.0" \
6+
version="1.22.1" \
77
lastModifiedBy="Pascal Zimmermann" \
8-
lastModifiedOn="2024-01-31"
8+
lastModifiedOn="2024-03-04"
99

1010
ENV PG_ENV_POSTGRESQL_MAX_CLIENT_CONN 10000
1111
ENV PG_ENV_POSTGRESQL_DEFAULT_POOL_SIZE 400

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
- https://github.com/mbentley/dockerfiles
66

77
## Used versions
8-
- [alpine:3.18](https://hub.docker.com/_/alpine)
9-
- [pgBouncer 1.21.0](https://github.com/pgbouncer/pgbouncer/releases/tag/pgbouncer_1_21_0)
10-
8+
- [alpine:3.19](https://hub.docker.com/_/alpine)
9+
- [pgBouncer 1.22.1](https://github.com/pgbouncer/pgbouncer/releases/tag/pgbouncer_1_21_1)
1110
## Supported setup parameter
1211
| Env variable | Default value | Example value | Required |
1312
|:------------:|:-------------:|:-------------:|:--------:|

0 commit comments

Comments
 (0)