This repository was archived by the owner on Jun 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Expand file tree Collapse file tree 4 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,12 @@ jobs:
1111 strategy :
1212 matrix :
1313 include :
14- - { postgres: 12, alpine: '3.12' }
15- - { postgres: 13, alpine: '3.14' }
16- - { postgres: 14, alpine: '3.16' }
17- - { postgres: 15, alpine: '3.17' }
18- - { postgres: 16, alpine: '3.19' }
14+ - { postgres: 12 }
15+ - { postgres: 13 }
16+ - { postgres: 14 }
17+ - { postgres: 15 }
18+ - { postgres: 16 }
19+ - { postgres: 17 }
1920
2021 steps :
2122 - name : Checkout repository
4041 push : true
4142 tags : ${{ github.repository }}:${{ matrix.postgres }}
4243 build-args : |
43- ALPINE_VERSION =${{ matrix.alpine }}
44+ POSTGRES_VERSION =${{ matrix.postgres }}
4445 platforms : |
4546 linux/amd64
4647 linux/arm64
Original file line number Diff line number Diff line change 1- ARG ALPINE_VERSION
2- FROM alpine :${ALPINE_VERSION}
1+ ARG POSTGRES_VERSION
2+ FROM postgres :${POSTGRES_VERSION}-alpine
33ARG TARGETARCH
44
55ADD src/install.sh install.sh
Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ docker exec <container name> sh restore.sh <timestamp>
5454
5555# Development
5656# # Build the image locally
57- ` ALPINE_VERSION ` determines Postgres version compatibility. See [`build-and-push-images.yml`](.github/workflows/build-and-push-images.yml) for the latest mapping .
57+ ` POSTGRES_VERSION ` determines Postgres version.
5858` ` ` sh
59- DOCKER_BUILDKIT=1 docker build --build-arg ALPINE_VERSION=3.14 .
59+ DOCKER_BUILDKIT=1 docker build --build-arg POSTGRES_VERSION=17 .
6060` ` `
6161# # Run a simple test environment with Docker Compose
6262` ` ` sh
Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ services:
1212 build :
1313 context : .
1414 args :
15- ALPINE_VERSION : ' 3.16 '
15+ POSTGRES_VERSION : ' 17 '
1616 environment :
17- SCHEDULE : ' @weekly' # optional
18- BACKUP_KEEP_DAYS : 7 # optional
19- PASSPHRASE : passphrase # optional
17+ SCHEDULE : ' @weekly' # optional
18+ BACKUP_KEEP_DAYS : 7 # optional
19+ PASSPHRASE : passphrase # optional
2020 S3_REGION :
2121 S3_ACCESS_KEY_ID :
2222 S3_SECRET_ACCESS_KEY :
You can’t perform that action at this time.
0 commit comments