forked from repo-mirrors/cnpg-postgres-containers
feat: add ARM64 support (#19)
Added the `linux/arm64` to the list of platforms to build the PostgreSQL container image. Signed-off-by: Mathieu Velten <matmaul@gmail.com>
This commit is contained in:
2
.github/generate-strategy.sh
vendored
2
.github/generate-strategy.sh
vendored
@@ -60,7 +60,7 @@ for version in "${debian_versions[@]}"; do
|
||||
postgresImageVersion="${postgresImageVersion%[.-]*}"
|
||||
done
|
||||
# Support platform for container images
|
||||
platforms="linux/amd64"
|
||||
platforms="linux/amd64,linux/arm64"
|
||||
|
||||
# Build the json entry
|
||||
entries+=(
|
||||
|
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@@ -39,6 +39,9 @@ jobs:
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2.0.0
|
||||
with:
|
||||
image: tonistiigi/binfmt:qemu-v6.1.0
|
||||
platforms: ${{ matrix.platforms }}
|
||||
|
||||
- name: Docker meta
|
||||
id: docker-meta
|
||||
|
Reference in New Issue
Block a user