Skip to content

Commit

Permalink
🌱 Speed up multi-arch builds (#334)
Browse files Browse the repository at this point in the history
This moves us to the matrix strategy for handling multiple architectures
introduced in konveyor/release-tools#48

Signed-off-by: David Zager <[email protected]>
  • Loading branch information
djzager authored Sep 15, 2023
1 parent 0f94127 commit 075510c
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 33 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/image-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Multiple Architecture Image Build

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

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

jobs:
image-build:
uses: konveyor/release-tools/.github/workflows/build-push-images.yaml@main
with:
registry: "quay.io/konveyor"
image_name: "analyzer-lsp"
containerfile: "./Dockerfile"
architectures: '[ "amd64", "arm64", "ppc64le", "s390x" ]'
secrets:
registry_username: ${{ secrets.QUAY_PUBLISH_ROBOT }}
registry_password: ${{ secrets.QUAY_PUBLISH_TOKEN }}
33 changes: 0 additions & 33 deletions .github/workflows/multi-arch_images_build.yaml

This file was deleted.

0 comments on commit 075510c

Please sign in to comment.