name: Build and Push Image with Buildah on: [ push ] jobs: build: name: Build and push image runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Build Image id: build-image uses: redhat-actions/buildah-build@v2 with: image: my-app tags: latest ${{ github.sha }} containerfiles: | ./Containerfile - name: Print image url run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"