name: Multiple container CLI build tests on: push: workflow_dispatch: schedule: - cron: '0 0 * * *' # every day at midnight env: IMAGE_REGISTRY: quay.io IMAGE_NAMESPACE: redhat-github-actions IMAGE_NAME: ptr-test IMAGE_TAG: v1 jobs: build-only-podman: name: Build and push image built only on Podman 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: Build image using Podman run: | podman build -t ${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }} -<