mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 01:49:03 +00:00
Add matrix to install latest buildah (#67)
* Add matrix to install latest buildah Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
b82756135c
commit
fe5edd5859
4 changed files with 34 additions and 0 deletions
10
.github/workflows/scratch_build.yml
vendored
10
.github/workflows/scratch_build.yml
vendored
|
@ -18,6 +18,11 @@ jobs:
|
|||
build:
|
||||
name: Build image using Buildah
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
install_latest: [ true, false ]
|
||||
|
||||
steps:
|
||||
|
||||
# Checkout buildah action github repository
|
||||
|
@ -26,6 +31,11 @@ jobs:
|
|||
with:
|
||||
path: "buildah-build"
|
||||
|
||||
- name: Install latest buildah
|
||||
if: matrix.install_latest
|
||||
run: |
|
||||
bash buildah-build/.github/install_latest_buildah.sh
|
||||
|
||||
# Checkout spring-petclinic github repository
|
||||
- name: Checkout spring-petclinic project
|
||||
uses: actions/checkout@v2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue