From 456613dfd733dfbea6e7f836bde636aec7c23a0a Mon Sep 17 00:00:00 2001 From: rjauhari Date: Tue, 18 Feb 2025 17:15:38 +0530 Subject: [PATCH] added s390x support and created github action workflow --- .github/workflows/build-multiarch.yml | 22 ++++++++++++++++++++++ Makefile | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build-multiarch.yml diff --git a/.github/workflows/build-multiarch.yml b/.github/workflows/build-multiarch.yml new file mode 100644 index 0000000..71a7f84 --- /dev/null +++ b/.github/workflows/build-multiarch.yml @@ -0,0 +1,22 @@ +name: Build and Push Multi-Arch Image +on: [push] + +jobs: + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Log in to Quay using Podman + uses: redhat-actions/podman-login@v1 + with: + username: ${{ secrets.QUAY_USER }} + password: ${{ secrets.QUAY_TOKEN }} + registry: quay.io + + - name: Build Multi-Arch Image + run: make build + + - name: Push Multi-Arch Image + run: make push diff --git a/Makefile b/Makefile index 347791d..005e656 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ IMAGE_NAME = quay.io/skupper/tcp-go-echo -PLATFORM = linux/amd64,linux/arm64 +PLATFORM = linux/amd64,linux/arm64,linux/s390x # The option below creates the images in the docker format. # That is required for their use with Openshift 3.11