Skip to content

Commit

Permalink
feat: login into registry
Browse files Browse the repository at this point in the history
  • Loading branch information
DPS0340 committed Dec 7, 2022
1 parent 7dcd3f5 commit 84dd757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,8 @@ echo "bentoml containerize $MODEL_NAME:latest -t ${IMAGE_TAG} --network host --v
bentoml containerize $MODEL_NAME:latest -t ${IMAGE_TAG} --network host --verbose --platform=linux/amd64

# 6. docker push
echo "=================================CONTAINERIZATION PUSH==================================" >&1
echo "$PASSWORD" | docker login --username $USERNAME --password-stdin
echo "============================CONTAINERIZATION PUSH=============================" >&1
echo "$PASSWORD" | docker login $REGISTRY --username $USERNAME --password-stdin
echo "docker push ${IMAGE_TAG}"
docker push ${IMAGE_TAG}

Expand Down

0 comments on commit 84dd757

Please sign in to comment.