You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-5Lines changed: 9 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ This Docker image extends `percona/percona-postgresql-operator:2.6.0-ppg16.8-pos
8
8
- Uses a root-to-user approach to ensure proper privileges for OOM adjustment
9
9
- Intelligently identifies and protects the PostgreSQL postmaster process
10
10
- Preserves the original container entrypoint and behavior
11
+
- Multi-architecture support (amd64/x86_64 and arm64/aarch64)
11
12
12
13
## How It Works
13
14
@@ -44,16 +45,19 @@ docker run -d --name postgres oom-protected-postgres
44
45
45
46
This repository includes a GitHub Action that automatically builds and pushes the Docker image to GitHub Container Registry (ghcr.io) whenever changes are pushed to the main branch.
46
47
47
-
### Automated Builds
48
+
### Automated Multi-Architecture Builds
48
49
49
50
The workflow:
50
-
1. Builds the Docker image
51
-
2. Tags it with both `latest` and the short commit SHA
52
-
3. Pushes it to GitHub Container Registry
51
+
1. Builds the Docker image for multiple architectures (amd64 and arm64)
52
+
2. Tags it with:
53
+
-`latest` tag
54
+
- Short SHA of the commit (e.g., `sha-a1b2c3d`)
55
+
- Date in YYYYMMDD format
56
+
3. Pushes it to GitHub Container Registry as a multi-architecture manifest
53
57
54
58
### Using the Pre-built Image
55
59
56
-
Once built, you can pull the image directly:
60
+
Once built, you can pull the image directly, and Docker will automatically select the right architecture for your system:
0 commit comments