Skip to content

Commit

Permalink
ci: add support for PostgreSQL 17 in CI/CD pipeline
Browse files Browse the repository at this point in the history
- Add `postgres17` to the list of supported databases in the GitHub Actions workflow
- Create a new Dockerfile for `postgres17` with necessary configurations and labels

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Nov 10, 2024
1 parent c301dda commit 2cb50d0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
mysql9,
mysql8,
mongo4.4,
postgres17,
postgres16,
postgres15,
postgres14,
Expand Down
13 changes: 13 additions & 0 deletions docker/Dockerfile.postgres17
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM postgres:17-alpine

ARG TARGETOS
ARG TARGETARCH

LABEL maintainer="Bo-Yi Wu <appleboy.tw@gmail.com>" \
org.label-schema.name="docker-backup-database" \
org.label-schema.vendor="Bo-Yi Wu" \
org.label-schema.schema-version="1.0"

COPY release/${TARGETOS}/${TARGETARCH}/docker-backup-database /bin/

ENTRYPOINT ["/bin/docker-backup-database"]

0 comments on commit 2cb50d0

Please sign in to comment.