Skip to content

Commit

Permalink
✨ add multi-arch image build workflow (#27)
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
  • Loading branch information
pranavgaikwad authored Aug 15, 2023
1 parent 6bfbaf7 commit 8b858d5
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/multi-arch-image-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: 'Build and Push Multi-Arch Image'

on:
workflow_dispatch:
push:
branches:
- 'main'
- 'release-*'
tags:
- 'v*'

concurrency:
group: march-build-${{ github.ref }}
cancel-in-progress: true

jobs:
push-quay:
name: Build and Push Manifest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- name: Checkout Push to Registry action
uses: konveyor/release-tools/build-push-quay@main
with:
architectures: "amd64, arm64, ppc64le, s390x"
containerfile: "./Dockerfile"
image_name: "kantra"
image_namespace: "konveyor"
image_registry: "quay.io"
quay_publish_robot: ${{ secrets.QUAY_PUBLISH_ROBOT }}
quay_publish_token: ${{ secrets.QUAY_PUBLISH_TOKEN }}
ref: ${{ github.ref }}

0 comments on commit 8b858d5

Please sign in to comment.