diff --git a/Helm/values.yaml b/Helm/values.yaml index c778ef9..2faec33 100644 --- a/Helm/values.yaml +++ b/Helm/values.yaml @@ -2,7 +2,7 @@ #namespace: devops replicaCount: 1 image: - repository: naresh2603/helmrocket + repository: umachitra/helm-rocket tag: v1 containerPort: 80 # service.yaml diff --git a/Jenkinsfile b/Jenkinsfile index b3920ea..485329e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { stage ('SCM checkout') { steps { script{ - git credentialsId: 'git-cred', url: 'https://github.com/naresh26git/helm-node.git' + git credentialsId: 'git-cred', url: 'https://github.com/Umachitra/helm-chart.git' } } } @@ -28,7 +28,7 @@ pipeline { stage('Docker Build Images') { steps { script { - sh 'docker build -t naresh2603/helm-rockets:v1 .' + sh 'docker build -t umachitra/helm-rocket:v1 .' sh 'docker images' } } @@ -37,8 +37,8 @@ pipeline { steps { script { withCredentials([string(credentialsId: 'dockerPass', variable: 'dockerPassword')]) { - sh "docker login -u naresh2603 -p ${dockerPassword}" - sh 'docker push naresh2603/helm-rockets:v1' + sh "docker login -u umachitra -p ${dockerPassword}" + sh 'docker push umachitra/helm-rocket:v1' } } } @@ -46,7 +46,7 @@ pipeline { stage('Trivy Docker-scan') { steps { script { - sh 'trivy image naresh2603/helm-rockets:v1 > scan.txt' + sh 'trivy image umachitra/helm-rocket:v1 > scan.txt' } } }