Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#namespace: devops
replicaCount: 1
image:
repository: naresh2603/helmrocket
repository: umachitra/helm-rocket
tag: v1
containerPort: 80
# service.yaml
Expand Down
10 changes: 5 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
}
Expand All @@ -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'
}
}
Expand All @@ -37,16 +37,16 @@ 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'
}
}
}
}
stage('Trivy Docker-scan') {
steps {
script {
sh 'trivy image naresh2603/helm-rockets:v1 > scan.txt'
sh 'trivy image umachitra/helm-rocket:v1 > scan.txt'
}
}
}
Expand Down