Commit febfb7df authored by Josh Steinberg's avatar Josh Steinberg

update docker jenkinsfile

parent 66f84999
......@@ -69,7 +69,7 @@ pipeline {
scp -r helm root@${REMOTE_AGENT}:/artifact
ssh root@${REMOTE_AGENT} "gcloud container clusters get-credentials jsteinberg-ascend-gke --region us-east1 --project jsteinberg-ascend && kubectl get pods -A"
ssh root@${REMOTE_AGENT} "echo ${DOCKER_HUB_CRED_PSW} | docker login -u ${DOCKER_HUB_CRED_USR} --password-stdin"
ssh root@${REMOTE_AGENT} "docker build -t ${IMAGE_NAME}:latest /artifact && docker push ${IMAGE_NAME}:latest"
ssh root@${REMOTE_AGENT} "docker build -t jsteinberg2/${IMAGE_NAME}:latest /artifact && docker push jsteinberg2/${IMAGE_NAME}:latest"
ssh root@${REMOTE_AGENT} "helm uninstall ${IMAGE_NAME} || sleep 1; sleep 30; helm install ${IMAGE_NAME} /artifact/helm/${IMAGE_NAME} --values ./artifact/helm/${IMAGE_NAME}/;"
'''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment