File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1414 name : Build
1515 strategy :
1616 matrix :
17- arch : [ amd64 ]
17+ arch : [ amd64, arm64 ]
1818 version : [ 17-bookworm ]
19- runs-on : ${{ matrix.arch == 'amd64' && 'ubuntu-latest' || matrix.arch == 'arm64' && 'nx1' }} # Builds on NX1 self-hosted
19+ runs-on :
20+ - ' ubuntu-latest'
21+ - ${{ matrix.arch == 'arm64' && 'nx1' }} # Builds on NX1 self-hosted
2022 env :
2123 ARCH : ${{ matrix.arch }}
2224 OS : linux
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ docker run \
3838 -e POSTGRES_PASSWORD=" postgres" \
3939 -p 5432:5432 \
4040 -v postgres-primary:/var/lib/postgresql/data \
41- ghcr.io/mutablelogic/docker-postgres-darwin-amd64 :17-bookworm
41+ ghcr.io/mutablelogic/docker-postgres:17-bookworm
4242```
4343
4444You can add additional replication slots later as needed.
@@ -60,7 +60,7 @@ docker run \
6060 -e POSTGRES_PASSWORD=" postgres" \
6161 -p 5433:5432 \
6262 -v postgres-replica1:/var/lib/postgresql/data \
63- ghcr.io/mutablelogic/docker-postgres-darwin-amd64 :17-bookworm
63+ ghcr.io/mutablelogic/docker-postgres:17-bookworm
6464```
6565
6666A second replica (and so forth) can be run in the same way, but with a different port and volume name.
You can’t perform that action at this time.
0 commit comments