generated from konveyor-ecosystem/template-repo
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ add multi-arch image build workflow (#27)
Signed-off-by: Pranav Gaikwad <pgaikwad@redhat.com>
- Loading branch information
1 parent
6bfbaf7
commit 8b858d5
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |