fix: docker build
This commit is contained in:
parent
e2c96005cf
commit
6f7d8bd58d
@ -12,9 +12,13 @@ steps:
|
||||
environment:
|
||||
TOKEN:
|
||||
from_secret: gitea
|
||||
DOCKER_TOKEN:
|
||||
from_secret: docker_hub
|
||||
commands:
|
||||
- dockerd &
|
||||
- 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)
|
||||
|
||||
|
@ -20,10 +20,11 @@ RUN git clone --depth=1 https://git.ffmpeg.org/ffmpeg.git && \
|
||||
--disable-network \
|
||||
--enable-gpl \
|
||||
--enable-version3 \
|
||||
--disable-postproc \
|
||||
--enable-libx264 \
|
||||
--disable-static \
|
||||
--enable-shared && \
|
||||
make -j8 && make install
|
||||
make -j$(nproc) && make install
|
||||
RUN cargo install --path . --root /app/build
|
||||
|
||||
FROM $IMAGE as runner
|
||||
|
Loading…
x
Reference in New Issue
Block a user