Creating Multi Arch Container

This commit is contained in:
Ben Brown 2024-01-26 09:47:47 +11:00
parent 42451f7f7d
commit 124f0545f8

View file

@ -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/arm64
context: /
tags: ${{ contains(github.ref_name, 'main') && 'latest' || github.ref_name }}-sdk
containerfiles: /Dockerfile