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

@ -17,12 +17,22 @@ jobs:
login-and-push:
name: Login 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
- name: Checkout Push to Registry action
uses: actions/checkout@v2
- name: Install latest podman
if: matrix.install_latest
run: |
bash .github/install_latest_podman.sh
- name: Create Dockerfile
run: |
cat > Dockerfile<<EOF