Skip to content

Commit

Permalink
Build multi-arch container
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim committed Jan 25, 2024
1 parent 42451f7 commit 8e4dbed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build-and-push-to-registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,17 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v4

- name: Install qemu dependency
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Build images
id: build
uses: redhat-actions/buildah-build@v2
with:
image: ${{ github.repository }}
platforms: linux/amd64, linux/ppc64le
context: /
tags: ${{ contains(github.ref_name, 'main') && 'latest' || github.ref_name }}-sdk
containerfiles: /Dockerfile
Expand Down

0 comments on commit 8e4dbed

Please sign in to comment.