chore(Packaging): add Fedora-compatible RPM builds #30
Workflow file for this run
This file contains 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
# Build and push the Docker builder image which contain all of the build | |
# dependencies for OpenGamepadUI | |
name: Create and publish a Docker image | |
# Only trigger building the Docker image if the Dockerfile has changed. | |
on: | |
push: | |
paths: | |
- "docker/Dockerfile" | |
- ".github/workflows/docker.yaml" | |
env: | |
IMAGE_NAME: ghcr.io/shadowblip/opengamepadui-builder | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Log in to Docker registry | |
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin | |
- name: Build and push Docker image | |
run: make docker-builder-push |