1)
rm -r ./github-to-docker-practice
sudo -s
2)
//Build new image and push to ACR.
#mkdir azure-vote
git clone https://github.com/rodom1018/github-to-docker-practice.git
WEB_IMAGE_NAME="{BUILD_NUMBER}"
docker build -t $WEB_IMAGE_NAME ./github-to-docker-practice
docker login ${ACR_LOGINSERVER} -u ${ACR_ID} -p ${ACR_PASSWORD}
docker push $WEB_IMAGE_NAME
#docker pull $WEB_IMAGE_NAME
3)
//Update kubernetes deployment with new image.
WEB_IMAGE_NAME="{BUILD_NUMBER}"
#kubectl delete deployment github-to-docker-practice
#kubectl create deployment github-to-docker-practice --image=WEB_IMAGE_NAME
#kubectl expose deployment github-to-docker-practice --port=8000 --target-port=8000 --name=python-app-svc --type=LoadBalancer
수정해도 같은 주소?