Skip to content

Commit

Permalink
also build manylinux2014 aarch64 image
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Nov 15, 2024
1 parent 9fa5ea1 commit 2f5cc38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/manylinux2014-openssl.Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/update-manylinux-openssl-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,21 @@ 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
with:
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:
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2f5cc38

Please sign in to comment.