diff --git a/.github/workflows/manylinux2014-openssl.Dockerfile b/.github/workflows/manylinux2014-openssl.Dockerfile index cbb122ac8..7ed7aa0c0 100644 --- a/.github/workflows/manylinux2014-openssl.Dockerfile +++ b/.github/workflows/manylinux2014-openssl.Dockerfile @@ -1,4 +1,5 @@ -FROM quay.io/pypa/manylinux2014_x86_64 +ARG CPU_ARCH=x86_64 +FROM quay.io/pypa/manylinux2014_$CPU_ARCH ARG OPENSSL_VERSION LABEL com.aerospike.clients.openssl-version=$OPENSSL_VERSION diff --git a/.github/workflows/update-manylinux-openssl-image.yml b/.github/workflows/update-manylinux-openssl-image.yml index 94189b8d6..9fb15f617 100644 --- a/.github/workflows/update-manylinux-openssl-image.yml +++ b/.github/workflows/update-manylinux-openssl-image.yml @@ -9,6 +9,13 @@ jobs: env: OPENSSL_VERSION: '3.0.15' REGISTRY: ghcr.io + strategy: + matrix: + arch: [ + x86_64, + aarch64 + ] + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -16,7 +23,7 @@ jobs: sparse-checkout: | .github/workflows - - run: docker pull quay.io/pypa/manylinux2014_x86_64 + - run: docker pull quay.io/pypa/manylinux2014_${{ matrix.arch }} - uses: docker/login-action@v3 with: @@ -27,7 +34,7 @@ jobs: - uses: docker/metadata-action@v5 id: meta with: - images: ${{ env.REGISTRY }}/aerospike/manylinux2014_x86_64 + images: ${{ env.REGISTRY }}/aerospike/manylinux2014_${{ matrix.arch }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -40,6 +47,7 @@ jobs: file: .github/workflows/manylinux2014-openssl.Dockerfile build-args: | OPENSSL_VERSION=${{ env.OPENSSL_VERSION }} + CPU_ARCH=${{ matrix.arch }} # setup-buildx-action configures Docker to use the docker-container build driver # This driver doesn't publish an image locally by default # so we have to manually enable it