Creating Multi Arch Container
This commit is contained in:
parent
42451f7f7d
commit
124f0545f8
|
@ -17,11 +17,17 @@ jobs:
|
||||||
- name: Checkout sources
|
- name: Checkout sources
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install qemu dependency
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y qemu-user-static
|
||||||
|
|
||||||
- name: Build images
|
- name: Build images
|
||||||
id: build
|
id: build
|
||||||
uses: redhat-actions/buildah-build@v2
|
uses: redhat-actions/buildah-build@v2
|
||||||
with:
|
with:
|
||||||
image: ${{ github.repository }}
|
image: ${{ github.repository }}
|
||||||
|
platforms: linux/amd64, linux/arm64
|
||||||
context: /
|
context: /
|
||||||
tags: ${{ contains(github.ref_name, 'main') && 'latest' || github.ref_name }}-sdk
|
tags: ${{ contains(github.ref_name, 'main') && 'latest' || github.ref_name }}-sdk
|
||||||
containerfiles: /Dockerfile
|
containerfiles: /Dockerfile
|
||||||
|
|
Loading…
Reference in New Issue