File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change
1
+ # .github/workflows/ci.yml
1
2
name : CI / Docker Build
2
3
3
4
on :
@@ -10,11 +11,10 @@ jobs:
10
11
build :
11
12
runs-on : ubuntu-latest
12
13
env :
13
- # Force use of local FFmpeg in CI
14
14
MODE : local
15
15
FFMPEG_PATH : /usr/bin/ffmpeg
16
16
FFPROBE_PATH : /usr/bin/ffprobe
17
- VMAF_PATH : /usr/local/ bin/ffmpeg-quality-metrics
17
+ VMAF_PATH : /usr/bin/true # no-op in CI
18
18
19
19
steps :
20
20
- name : Checkout repository
29
29
run : |
30
30
sudo apt-get update
31
31
sudo apt-get install -y ffmpeg
32
- # ffprobe comes bundled; install VMAF tools here if needed
33
32
34
33
- name : Install Python dependencies
35
34
run : |
@@ -39,12 +38,15 @@ jobs:
39
38
- name : Set PYTHONPATH for imports
40
39
run : echo "PYTHONPATH=${{ github.workspace }}" >> $GITHUB_ENV
41
40
42
- - name : Build and load Docker image
41
+ - name : Build multi-arch Docker image (no load)
42
+ uses : docker/setup-buildx-action@v3
43
+
44
+ - name : Build Docker image
43
45
uses : docker/build-push-action@v4
44
46
with :
45
47
context : .
46
48
file : Dockerfile
47
49
platforms : linux/amd64,linux/arm64
48
- load : true
49
50
push : false
51
+ load : false
50
52
tags : ffmpeg-api-service:latest
You can’t perform that action at this time.
0 commit comments