From 96848a15ac33c3873d969949641509e48aa03525 Mon Sep 17 00:00:00 2001 From: SoumyaRajendran <66353450+SoumyaRajendran@users.noreply.github.com> Date: Fri, 25 Jun 2021 18:35:24 +0530 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e7ac207..659b42a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,12 +4,12 @@ pipeline { buildDiscarder(logRotator(numToKeepStr: '5')) } environment { - DOCKERHUB_CREDENTIALS = credentials('darinpope-dockerhub') + DOCKERHUB_CREDENTIALS = credentials('soumya-dockerhub') } stages { stage('Build') { steps { - sh 'docker build -t darinpope/dp-alpine:latest .' + sh 'docker build -t soumya/dp-alpine:latest .' } } stage('Login') { @@ -19,7 +19,7 @@ pipeline { } stage('Push') { steps { - sh 'docker push darinpope/dp-alpine:latest' + sh 'docker push soumya/dp-alpine:latest' } } } @@ -28,4 +28,4 @@ pipeline { sh 'docker logout' } } -} \ No newline at end of file +}