We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aefc69 commit 4f81e06Copy full SHA for 4f81e06
docker-build-model.sh
@@ -3,16 +3,14 @@
3
set -e
4
5
TAG=$( ./modelix-version.sh )
6
-MODELIX_TARGET_PLATFORM="${MODELIX_TARGET_PLATFORM:=linux/amd64}"
7
8
(
9
cd model-server
10
if [ "${CI}" = "true" ]; then
11
- docker buildx build --platform linux/amd64,linux/arm64 --push --no-cache \
+ docker buildx build --platform linux/amd64,linux/arm64 --push \
12
-t modelix/modelix-model:latest -t "modelix/modelix-model:${TAG}" .
13
else
14
- docker build --platform "${MODELIX_TARGET_PLATFORM}" --no-cache \
15
- -t modelix/modelix-model:latest -t "modelix/modelix-model:${TAG}" .
+ docker build -t modelix/modelix-model:latest -t "modelix/modelix-model:${TAG}" .
16
fi
17
)
18
0 commit comments