Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/build-multiarch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Push Multi-Arch Image
on:
push:
branches:
- main

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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down