Skip to content

Commit 1bb2b4c

Browse files
Added Jenkinsfile to Push Docker Image
1 parent c5c3d5e commit 1bb2b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JenkinsFileKubernetes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pipeline
4242
{
4343
steps()
4444
{
45-
ss 'aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin 149536451818.dkr.ecr.ap-south-1.amazonaws.com'
45+
sh 'aws ecr get-login-password --region ap-south-1 | docker login --username AWS --password-stdin 149536451818.dkr.ecr.ap-south-1.amazonaws.com'
4646
sh 'docker push 149536451818.dkr.ecr.ap-south-1.amazonaws.com/maven-web-application:${buildNumber}'
4747
}
4848
}

0 commit comments

Comments
 (0)