Cleanup ffmpeg plugin build scripts (#183) #1
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
name: Docker Build | |
on: | |
push: | |
branches: [ "main", "dev" ] | |
pull_request: | |
branches: [ "main", "dev" ] | |
permissions: | |
contents: read | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
egress-policy: audit | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@5927c834f5b4fdf503fca6f4c7eccda82949e1ee # v3.1.0 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0 | |
with: | |
buildkitd-flags: --debug | |
- name: Build and push SDK sample apps | |
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0 | |
with: | |
file: sdk/Dockerfile | |
context: . | |
push: false | |
tags: "mcm/sdk:${{ github.sha }}" | |
- name: Build and push ffmpeg and plugins | |
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0 | |
with: | |
file: ffmpeg-plugin/Dockerfile | |
context: . | |
push: false | |
tags: "mcm/ffmpeg:${{ github.sha }}" | |
- name: Build and push media proxy application | |
uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0 | |
with: | |
file: media-proxy/Dockerfile | |
context: . | |
push: false | |
tags: "mcm/media-proxy:${{ github.sha }}" |