Install make in GitHub workflow #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Build and push | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build-and-push: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: fedora:latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install deps | |
| run: | | |
| dnf -y install make podman skopeo | |
| - name: Build | |
| run: | | |
| make build | |
| - name: Quay login | |
| run: | | |
| podman login -u="${{ secrets.QUAY_PUSH_USER }}" -p="${{ secrets.QUAY_PUSH_PASSWORD }}" quay.io | |
| - name: Push | |
| run: | | |
| make push |