Skip to content

Commit 035b730

Browse files
Update ci.yml
1 parent 1b47d36 commit 035b730

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# .github/workflows/ci.yml
12
name: CI / Docker Build
23

34
on:
@@ -10,11 +11,10 @@ jobs:
1011
build:
1112
runs-on: ubuntu-latest
1213
env:
13-
# Force use of local FFmpeg in CI
1414
MODE: local
1515
FFMPEG_PATH: /usr/bin/ffmpeg
1616
FFPROBE_PATH: /usr/bin/ffprobe
17-
VMAF_PATH: /usr/local/bin/ffmpeg-quality-metrics
17+
VMAF_PATH: /usr/bin/true # no-op in CI
1818

1919
steps:
2020
- name: Checkout repository
@@ -29,7 +29,6 @@ jobs:
2929
run: |
3030
sudo apt-get update
3131
sudo apt-get install -y ffmpeg
32-
# ffprobe comes bundled; install VMAF tools here if needed
3332
3433
- name: Install Python dependencies
3534
run: |
@@ -39,12 +38,15 @@ jobs:
3938
- name: Set PYTHONPATH for imports
4039
run: echo "PYTHONPATH=${{ github.workspace }}" >> $GITHUB_ENV
4140

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
4345
uses: docker/build-push-action@v4
4446
with:
4547
context: .
4648
file: Dockerfile
4749
platforms: linux/amd64,linux/arm64
48-
load: true
4950
push: false
51+
load: false
5052
tags: ffmpeg-api-service:latest

0 commit comments

Comments
 (0)