Skip to content

Commit

Permalink
Merge pull request #203 from modelix/fix/docker-build-syntax
Browse files Browse the repository at this point in the history
Fix/docker build syntax
  • Loading branch information
odzhychko authored Aug 15, 2023
2 parents 1f449e5 + 9224749 commit 5f083ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-build-model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ TAG=$( ./modelix-version.sh )
cd model-server
if [ "${CI}" = "true" ]; then
docker buildx build --platform linux/amd64,linux/arm64 --push \
-t modelix/model-server:latest -t "modelix/model-server:${TAG}"
-t modelix/model-server:latest -t "modelix/model-server:${TAG}" \
-t modelix/modelix-model:latest -t "modelix/modelix-model:${TAG}" .
else
docker build \
Expand Down
2 changes: 1 addition & 1 deletion docker-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

set -e

docker login -u "$DOCKER_HUB_USER" -p "$DOCKER_HUB_KEY"
echo "$DOCKER_HUB_KEY" | docker login -u "$DOCKER_HUB_USER" --password-stdin

./docker-build-model.sh

0 comments on commit 5f083ad

Please sign in to comment.