Add matrix to install latest podman version (#44)

* Add matrix to install latest podman version

Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
Divyanshu Agrawal 2021-09-13 19:50:48 +05:30 committed by GitHub
parent 0e2528bfb5
commit 85f9459926
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 79 additions and 4 deletions

View file

@ -19,6 +19,11 @@ jobs:
build-and-push:
name: Build and push image to Quay.io
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
install_latest: [ true, false ]
steps:
# Checkout push-to-registry action github repository
@ -27,6 +32,11 @@ jobs:
with:
path: "push-to-registry"
- name: Install latest podman
if: matrix.install_latest
run: |
bash push-to-registry/.github/install_latest_podman.sh
# Checkout spring-petclinic github repository
- name: Checkout spring-petclinic project
uses: actions/checkout@v2