From 40ae60cbe432772c691a2e853088896011c2d20a Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Mon, 30 Nov 2020 17:40:05 +0530 Subject: [PATCH] ci: add github action for multiarch build added a github action for multiarch docker build. Signed-off-by: Madhu Rajanna --- .github/workflows/build-multi-stage.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/build-multi-stage.yaml diff --git a/.github/workflows/build-multi-stage.yaml b/.github/workflows/build-multi-stage.yaml new file mode 100644 index 000000000..f8fbc3f41 --- /dev/null +++ b/.github/workflows/build-multi-stage.yaml @@ -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