Skip to content

Commit a5cd577

Browse files
committed
Creating Multi-arch container
1 parent 42451f7 commit a5cd577

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-and-push-to-registry.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ jobs:
1717
- name: Checkout sources
1818
uses: actions/checkout@v4
1919

20+
- name: Install qemu dependency
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y qemu-user-static
24+
2025
- name: Build images
2126
id: build
2227
uses: redhat-actions/buildah-build@v2
2328
with:
2429
image: ${{ github.repository }}
30+
platforms: linux/amd64, linux/aarch64
2531
context: /
2632
tags: ${{ contains(github.ref_name, 'main') && 'latest' || github.ref_name }}-sdk
2733
containerfiles: /Dockerfile

0 commit comments

Comments
 (0)