Skip to content

Commit 447657f

Browse files
committed
Updated
1 parent 9ea10d5 commit 447657f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/docker.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ jobs:
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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

4444
You 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

6666
A second replica (and so forth) can be run in the same way, but with a different port and volume name.

0 commit comments

Comments
 (0)