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 14
14
name : Build
15
15
strategy :
16
16
matrix :
17
- arch : [ amd64 ]
17
+ arch : [ amd64, arm64 ]
18
18
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
20
22
env :
21
23
ARCH : ${{ matrix.arch }}
22
24
OS : linux
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ docker run \
38
38
-e POSTGRES_PASSWORD=" postgres" \
39
39
-p 5432:5432 \
40
40
-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
42
42
```
43
43
44
44
You can add additional replication slots later as needed.
@@ -60,7 +60,7 @@ docker run \
60
60
-e POSTGRES_PASSWORD=" postgres" \
61
61
-p 5433:5432 \
62
62
-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
64
64
```
65
65
66
66
A 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