Add build for ppc64le, riscv64, s390x #17
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |