Skip to content

Add build for ppc64le, riscv64, s390x #17

Add build for ppc64le, riscv64, s390x

Add build for ppc64le, riscv64, s390x #17

Workflow file for this run

name: Build container image
on:
pull_request:
env:
IMAGE_NAME: ${{ github.event.repository.name }}
IMAGE_TAGS: ${{ github.sha }}
jobs:
build:
name: Build container image
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install qemu dependency
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Build Image
id: build_image
uses: redhat-actions/buildah-build@v2
with:
image: ${{ env.IMAGE_NAME }}
tags: ${{ env.IMAGE_TAGS }}
archs: amd64, arm64, ppc64le, riscv64, s390x
containerfiles: |
./Dockerfile