Skip to content

Commit

Permalink
update deploy script3
Browse files Browse the repository at this point in the history
  • Loading branch information
kundan59 committed Sep 8, 2023
1 parent 47ba30f commit 7b77360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ do
echo "packaging done, start docker build"
docker build -f Dockerfile --tag us.gcr.io/$PROJECT_ID/orderservice:1.0.1 . || continue
echo "docker build done, docker push"
docker tag orderservice:1.0.1 ocker us.gcr.io/$PROJECT_ID/orderservice:1.0.1
docker push gcr.io/$PROJECT_ID/orderservice:latest || continue
docker tag orderservice:1.0.1 us.gcr.io/$PROJECT_ID/orderservice:1.0.1
docker push gcr.io/$PROJECT_ID/orderservice:1.0.1 || continue
echo "pushed docker image"

esac
Expand Down

0 comments on commit 7b77360

Please sign in to comment.