From 709caf82d6f091a41977075f2f9cd948c76c61e6 Mon Sep 17 00:00:00 2001 From: ganthepro Date: Sun, 29 Dec 2024 14:16:02 +0700 Subject: [PATCH] fix: standardize quotes in Jenkinsfile for docker image push command --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index db4b2e5..5ddef50 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 } }