✨ Add ALM Examples for new CRs (#369) #223
Workflow file for this run
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
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: Build Operator Container | |
uses: konveyor/release-tools/build-push-quay@main | |
with: | |
architectures: "amd64, arm64, ppc64le, s390x" | |
containerfile: "./Dockerfile" | |
image_name: "tackle2-operator" | |
image_namespace: "konveyor" | |
image_registry: "quay.io" | |
quay_publish_robot: ${{ secrets.QUAY_PUBLISH_ROBOT }} | |
quay_publish_token: ${{ secrets.QUAY_PUBLISH_TOKEN }} | |
ref: ${{ github.ref }} | |
- name: Build Operator Bundle | |
uses: konveyor/release-tools/build-push-quay@main | |
with: | |
architectures: "amd64" | |
containerfile: "./bundle.Dockerfile" | |
image_name: "tackle2-operator-bundle" | |
image_namespace: "konveyor" | |
image_registry: "quay.io" | |
quay_publish_robot: ${{ secrets.QUAY_PUBLISH_ROBOT }} | |
quay_publish_token: ${{ secrets.QUAY_PUBLISH_TOKEN }} | |
ref: ${{ github.ref }} | |
- name: Build Operator Index | |
uses: konveyor/release-tools/build-push-quay@main | |
with: | |
architectures: "amd64, arm64" | |
pre_build_cmd: | | |
CONTAINER_RUNTIME=podman \ | |
CATALOG_IMG=quay.io/konveyor/tackle2-operator-index:latest \ | |
BUNDLE_IMG=quay.io/konveyor/tackle2-operator-bundle:latest \ | |
make catalog-index | |
containerfile: "./index.Dockerfile" | |
image_name: "tackle2-operator-index" | |
image_namespace: "konveyor" | |
image_registry: "quay.io" | |
quay_publish_robot: ${{ secrets.QUAY_PUBLISH_ROBOT }} | |
quay_publish_token: ${{ secrets.QUAY_PUBLISH_TOKEN }} | |
ref: ${{ github.ref }} |