-
Notifications
You must be signed in to change notification settings - Fork 19
58 lines (51 loc) · 1.51 KB
/
docker-cached-build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: build-docker-images
on:
pull_request:
branches: [ "main", "dev" ]
push:
branches: [ "main", "dev" ]
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
sdk-image-build:
permissions:
security-events: write
contents: read
name: Build sdk Docker Image
uses: ./.github/workflows/template-docker-cached-build.yml
with:
docker_file_path: "sdk/Dockerfile"
docker_image_name: "sdk"
ffmpeg-6-1-image-build:
permissions:
security-events: write
contents: read
name: Build ffmpeg v6.1 Docker Image
uses: ./.github/workflows/template-docker-cached-build.yml
with:
docker_file_path: "ffmpeg-plugin/Dockerfile"
docker_image_name: "ffmpeg-6-1"
docker_build_args: "FFMPEG_VER=6.1"
ffmpeg-7-0-image-build:
permissions:
security-events: write
contents: read
name: Build ffmpeg v7.0 Docker Image
uses: ./.github/workflows/template-docker-cached-build.yml
with:
docker_file_path: "ffmpeg-plugin/Dockerfile"
docker_image_name: "ffmpeg-7-0"
docker_build_args: "FFMPEG_VER=7.0"
media-proxy-image-build:
permissions:
security-events: write
contents: read
name: Build Media-Proxy Docker Image
uses: ./.github/workflows/template-docker-cached-build.yml
with:
docker_file_path: "media-proxy/Dockerfile"
docker_image_name: "media-proxy"