ci: add github action for multiarch build

added a github action for multiarch docker
build.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2020-11-30 17:40:05 +05:30 committed by Niels de Vos
parent 1845f2b77d
commit 40ae60cbe4

View File

@ -0,0 +1,19 @@
---
name: multi-arch-build
# yamllint disable-line rule:truthy
on:
push:
pull_request:
branches:
- '*'
jobs:
codespell:
name: multi-arch-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: multi-arch-build
# podman cannot pull images with both tag and digest
# https://github.com/containers/buildah/issues/1407
# use docker to build images
run: CONTAINER_CMD=docker ./scripts/build-multi-arch-image.sh