Skip to content

Commit d2e2ca4

Browse files
authored
Update Jenkinsfile
1 parent 33c64ca commit d2e2ca4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pipeline {
1515
stage('Build') {
1616
steps {
1717
script{
18-
app = docker.build("jenkins-demo")
18+
app = docker.build("Dockerfile")
1919
}
2020
}
2121
}
@@ -27,7 +27,7 @@ pipeline {
2727
stage('Deploy') {
2828
steps {
2929
script{
30-
docker.withRegistry('https://621617387058.dkr.ecr.ap-south-1.amazonaws.com', 'ecr:ap-south-1:5136f09d-bd27-412b-aa86-b4eee81f58df') {
30+
docker.withRegistry('https://621617387058.dkr.ecr.ap-south-1.amazonaws.com/jenkins-demo', 'ecr:ap-south-1:5136f09d-bd27-412b-aa86-b4eee81f58df') {
3131
app.push("${env.BUILD_NUMBER}")
3232
app.push("latest")
3333
}

0 commit comments

Comments
 (0)