Skip to content

Commit

Permalink
fix: standardize quotes in Jenkinsfile for docker image push command
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganthepro committed Dec 29, 2024
1 parent 6c42551 commit 709caf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pipeline {
steps {
script {
docker.withRegistry('https://registry.hub.docker.com', 'gan-docker-hub') {
docker.image('$DOCKER_CREDENTIALS_USR/edusaig:$BUILD_NUMBER').push()
docker.image("$DOCKER_CREDENTIALS_USR/edusaig:$BUILD_NUMBER").push()
// ใช้คำสั่ง docker.image.push เพื่อทำการ push image ของเราไปยัง Docker Hub
}
}
Expand Down

0 comments on commit 709caf8

Please sign in to comment.