Skip to content

Commit

Permalink
Enable multiarch container builds
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Mar 11, 2024
1 parent ba3fb59 commit b99f309
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/container-build-quay-io.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
# from https://github.com/marketplace/actions/push-to-registry
jobs:
build:
name: Build and push image
name: Build images # Build and push multi-platform images
strategy:
fail-fast: false
matrix:
Expand All @@ -31,12 +31,18 @@ jobs:
steps:
- 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: fedora-${{ matrix.name }}
tags: ${{ matrix.tag }}
platforms: linux/amd64, linux/arm64, linux/ppc64le, linux/s390x
containerfiles: |
containerfiles/Containerfile
build-args: |
Expand Down

0 comments on commit b99f309

Please sign in to comment.