Compare commits

...

2 Commits

Author SHA1 Message Date
6b6e0d4dec chore: try ffmpeg master branch
Some checks failed
continuous-integration/drone/push Build is failing
2025-06-11 15:14:53 +01:00
2576f75bc4 chore: cache docker build 2025-06-11 14:48:46 +01:00
2 changed files with 17 additions and 3 deletions

View File

@ -5,17 +5,24 @@ metadata:
namespace: git namespace: git
concurrency: concurrency:
limit: 1 limit: 1
volumes:
- name: cache
claim:
name: storage2
steps: steps:
- name: build - name: build
image: docker image: docker
privileged: true privileged: true
volumes:
- name: cache
path: /cache
environment: environment:
TOKEN: TOKEN:
from_secret: gitea from_secret: gitea
TOKEN_DOCKER: TOKEN_DOCKER:
from_secret: docker_hub from_secret: docker_hub
commands: commands:
- dockerd & - dockerd --data-root /cache/dockerd &
- docker login -u voidic -p $TOKEN_DOCKER - docker login -u voidic -p $TOKEN_DOCKER
- docker buildx build --push -t voidic/route96:latest . - docker buildx build --push -t voidic/route96:latest .
- kill $(cat /var/run/docker.pid) - kill $(cat /var/run/docker.pid)
@ -30,17 +37,24 @@ trigger:
- tag - tag
metadata: metadata:
namespace: git namespace: git
volumes:
- name: cache
claim:
name: storage2
steps: steps:
- name: build - name: build
image: docker image: docker
privileged: true privileged: true
volumes:
- name: cache
path: /cache
environment: environment:
TOKEN: TOKEN:
from_secret: gitea from_secret: gitea
TOKEN_DOCKER: TOKEN_DOCKER:
from_secret: docker_hub from_secret: docker_hub
commands: commands:
- dockerd & - dockerd --data-root /cache/dockerd &
- docker login -u voidic -p $TOKEN_DOCKER - docker login -u voidic -p $TOKEN_DOCKER
- docker buildx build --push voidic/route96:$DRONE_TAG . - docker buildx build --push voidic/route96:$DRONE_TAG .
- kill $(cat /var/run/docker.pid) - kill $(cat /var/run/docker.pid)

View File

@ -18,7 +18,7 @@ RUN apt update && \
libclang-dev \ libclang-dev \
protobuf-compiler && \ protobuf-compiler && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
RUN git clone --single-branch --branch release/7.1 https://git.v0l.io/ffmpeg/FFmpeg.git && \ RUN git clone --single-branch --branch master https://git.v0l.io/ffmpeg/FFmpeg.git && \
cd FFmpeg && \ cd FFmpeg && \
./configure \ ./configure \
--prefix=${FFMPEG_DIR} \ --prefix=${FFMPEG_DIR} \