Skip to content

Merge pull request #16 from h5py/aarch64-native #25

Merge pull request #16 from h5py/aarch64-native

Merge pull request #16 from h5py/aarch64-native #25

Workflow file for this run

name: Build Image from Dockerfile
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
build_x86_64_wheels:
name: Build image for x86_64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
file: ./Dockerfile_x86_64
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/${{ github.repository_owner }}/manylinux2014_x86_64-hdf5
build_aarch64_wheels:
name: Build image for aarch64
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
file: ./Dockerfile_aarch64
platforms: linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ghcr.io/${{ github.repository_owner }}/manylinux2014_aarch64-hdf5