feat: build with labels for docker
This commit is contained in:
parent
c47432e58f
commit
d7b332905b
@ -18,5 +18,5 @@ steps:
|
||||
- dockerd &
|
||||
- docker login -u kieran -p $TOKEN git.v0l.io
|
||||
- docker login -u voidic -p $TOKEN_DOCKER
|
||||
- docker buildx build --push -t git.v0l.io/kieran/route96:latest -t voidic/route96:latest .
|
||||
- docker buildx build --push -t git.v0l.io/kieran/route96:latest -t voidic/route96:latest --build-arg FEATURES="labels" .
|
||||
- kill $(cat /var/run/docker.pid)
|
@ -1,4 +1,5 @@
|
||||
ARG IMAGE=rust:bookworm
|
||||
ARG FEATURES=labels
|
||||
|
||||
FROM $IMAGE as build
|
||||
WORKDIR /app/src
|
||||
@ -31,7 +32,7 @@ RUN git clone --depth=1 https://git.v0l.io/Kieran/FFmpeg.git && \
|
||||
--disable-static \
|
||||
--enable-shared && \
|
||||
make -j8 && make install
|
||||
RUN cargo install --path . --root /app/build
|
||||
RUN cargo install --path . --root /app/build --features "${FEATURES}"
|
||||
|
||||
FROM node:bookworm as ui_builder
|
||||
WORKDIR /app/src
|
||||
|
Loading…
x
Reference in New Issue
Block a user