Skip to content

Commit 5b8e7d3

Browse files
committed
fix push stage docker#2
1 parent dd93160 commit 5b8e7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pipeline {
5454
script {
5555
// Log in to Docker Hub
5656
sh 'echo $DOCKER_PASS | docker login -u $DOCKER_USER --password-stdin'
57-
sh 'docker build -t ${docker_image}:v1'
57+
sh 'docker image tag ${docker_image}:v1'
5858
// Push the image
5959
sh 'docker push ${docker_image}:v1'
6060
}

0 commit comments

Comments
 (0)