mirror of
https://github.com/v0l/zap-stream-core.git
synced 2025-06-17 20:08:50 +00:00
fix: docker build
This commit is contained in:
@ -12,9 +12,13 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
TOKEN:
|
TOKEN:
|
||||||
from_secret: gitea
|
from_secret: gitea
|
||||||
|
DOCKER_TOKEN:
|
||||||
|
from_secret: docker_hub
|
||||||
commands:
|
commands:
|
||||||
- dockerd &
|
- dockerd &
|
||||||
- docker login -u kieran -p $TOKEN git.v0l.io
|
- docker login -u kieran -p $TOKEN git.v0l.io
|
||||||
- docker buildx build --push -t git.v0l.io/kieran/zap-stream-core:latest .
|
- docker login -u voidic -p $DOCKER_TOKEN
|
||||||
|
- docker buildx create --name mybuilder --bootstrap --use
|
||||||
|
- docker buildx build --push -platform linux/amd64,linux/arm64 -t git.v0l.io/kieran/zap-stream-core:latest t voidic/zap-stream-core:latest .
|
||||||
- kill $(cat /var/run/docker.pid)
|
- kill $(cat /var/run/docker.pid)
|
||||||
|
|
||||||
|
@ -20,10 +20,11 @@ RUN git clone --depth=1 https://git.ffmpeg.org/ffmpeg.git && \
|
|||||||
--disable-network \
|
--disable-network \
|
||||||
--enable-gpl \
|
--enable-gpl \
|
||||||
--enable-version3 \
|
--enable-version3 \
|
||||||
|
--disable-postproc \
|
||||||
--enable-libx264 \
|
--enable-libx264 \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-shared && \
|
--enable-shared && \
|
||||||
make -j8 && make install
|
make -j$(nproc) && make install
|
||||||
RUN cargo install --path . --root /app/build
|
RUN cargo install --path . --root /app/build
|
||||||
|
|
||||||
FROM $IMAGE as runner
|
FROM $IMAGE as runner
|
||||||
|
Reference in New Issue
Block a user