mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
feat: add ffmpeg to docker
This commit is contained in:
10
.github/workflows/go.yml
vendored
10
.github/workflows/go.yml
vendored
@@ -83,7 +83,10 @@ jobs:
|
||||
- name: docker build amd64
|
||||
if: success() && startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
rm -f m7s monibuca_linux # Clean up any previous state
|
||||
rm -f m7s monibuca_linux ffmpeg admin.zip # Clean up any previous state
|
||||
curl -L https://download.m7s.live/bin/ffmpeg-x86_64-linux -o ffmpeg
|
||||
curl -L https://download.m7s.live/bin/admin.zip -o admin.zip
|
||||
chmod +x ffmpeg
|
||||
tar -zxvf bin/m7s_v5_linux_amd64.tar.gz
|
||||
mv m7s monibuca_linux
|
||||
docker login -u langhuihui -p ${{ secrets.DOCKER_PASSWORD }}
|
||||
@@ -91,7 +94,10 @@ jobs:
|
||||
- name: docker build arm64
|
||||
if: success() && startsWith(github.ref, 'refs/tags/')
|
||||
run: |
|
||||
rm -f m7s monibuca_linux # Clean up from amd64 build
|
||||
rm -f m7s monibuca_linux ffmpeg admin.zip # Clean up from amd64 build
|
||||
curl -L https://download.m7s.live/bin/ffmpeg-aarch64-linux -o ffmpeg
|
||||
curl -L https://download.m7s.live/bin/admin.zip -o admin.zip
|
||||
chmod +x ffmpeg
|
||||
tar -zxvf bin/m7s_v5_linux_arm64.tar.gz
|
||||
mv m7s monibuca_linux # Dockerfile expects this name
|
||||
docker login -u langhuihui -p ${{ secrets.DOCKER_PASSWORD }} # Repeated login for consistency
|
||||
|
||||
Reference in New Issue
Block a user