Skip to content

Commit 640bd59

Browse files
Included more labels for the docker image (#2106)
1 parent 2f33bbe commit 640bd59

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ jobs:
5555
run: |
5656
DOCKER_BUILDKIT=1 docker build . \
5757
--build-arg RUNTIMES=all \
58+
--label name="mlserver" \
59+
--label vendor="SeldonIO" \
60+
--label version="${{ github.event.inputs.version }}" \
61+
--label release="${{ github.event.inputs.version }}" \
62+
--label summary="An open source inference server for your machine learning models." \
63+
--label description="MLServer aims to provide an easy way to start serving your machine learning models through a REST and gRPC interface, fully compliant with KFServing’s V2 Dataplane spec." \
64+
--label maintainer="[email protected]" \
5865
-t $MLSERVER_IMAGE
5966
- name: Scan Docker Image
6067
uses: snyk/actions/docker@master
@@ -126,6 +133,13 @@ jobs:
126133
run: |
127134
DOCKER_BUILDKIT=1 docker build . \
128135
--build-arg RUNTIMES="" \
136+
--label name="mlserver" \
137+
--label vendor="SeldonIO" \
138+
--label version="${{ github.event.inputs.version }}" \
139+
--label release="${{ github.event.inputs.version }}" \
140+
--label summary="An open source inference server for your machine learning models." \
141+
--label description="MLServer aims to provide an easy way to start serving your machine learning models through a REST and gRPC interface, fully compliant with KFServing’s V2 Dataplane spec." \
142+
--label maintainer="[email protected]" \
129143
-t $MLSERVER_IMAGE-slim
130144
- name: Scan Docker Image
131145
uses: snyk/actions/docker@master
@@ -249,6 +263,13 @@ jobs:
249263
run: |
250264
DOCKER_BUILDKIT=1 docker build . \
251265
--build-arg RUNTIMES=mlserver-${{ matrix.runtime }} \
266+
--label name="mlserver" \
267+
--label vendor="SeldonIO" \
268+
--label version="${{ github.event.inputs.version }}" \
269+
--label release="${{ github.event.inputs.version }}" \
270+
--label summary="An open source inference server for your machine learning models." \
271+
--label description="MLServer aims to provide an easy way to start serving your machine learning models through a REST and gRPC interface, fully compliant with KFServing’s V2 Dataplane spec." \
272+
--label maintainer="[email protected]" \
252273
-t $MLSERVER_IMAGE-${{ matrix.runtime }}
253274
- name: Scan Docker Image
254275
uses: snyk/actions/docker@master

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
FROM python:3.10-slim AS wheel-builder
22
SHELL ["/bin/bash", "-l", "-c"]
33

4-
LABEL vendor="SeldonIO"
5-
LABEL maintainer="[email protected]"
6-
74
ARG POETRY_VERSION="2.1.1"
85

96
COPY ./hack/build-wheels.sh ./hack/build-wheels.sh

0 commit comments

Comments
 (0)