mirror of
https://github.com/v0l/route96.git
synced 2025-06-14 15:46:32 +00:00
Compare commits
2 Commits
ec271f4109
...
6b6e0d4dec
Author | SHA1 | Date | |
---|---|---|---|
6b6e0d4dec
|
|||
2576f75bc4
|
18
.drone.yml
18
.drone.yml
@ -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)
|
@ -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} \
|
||||||
|
Reference in New Issue
Block a user